mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
virUUIDFormat: s/VIR_UUID_RAW_LEN/VIR_UUID_BUFLEN/ in comment
The function takes raw UUID and formats it into string representation. However, the comment mistakenly states that the expected size of raw UUID buffer is VIR_UUID_RAW_LEN bytes. We don't have such constant since v0.3.2~24. It should have been VIR_UUID_BUFLEN. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
e672f827d9
commit
12da9f7ec6
@ -141,7 +141,7 @@ virUUIDParse(const char *uuidstr, unsigned char *uuid)
|
||||
|
||||
/**
|
||||
* virUUIDFormat:
|
||||
* @uuid: array of VIR_UUID_RAW_LEN bytes to store the raw UUID
|
||||
* @uuid: array of VIR_UUID_BUFLEN bytes to store the raw UUID
|
||||
* @uuidstr: array of VIR_UUID_STRING_BUFLEN bytes to store the
|
||||
* string representation of the UUID in. The resulting string
|
||||
* will be NULL terminated.
|
||||
|
Loading…
Reference in New Issue
Block a user