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:
Michal Privoznik 2019-08-08 09:36:17 +02:00
parent e672f827d9
commit 12da9f7ec6

View File

@ -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.