]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virUUIDFormat: s/VIR_UUID_RAW_LEN/VIR_UUID_BUFLEN/ in comment
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 8 Aug 2019 07:36:17 +0000 (09:36 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 22 Aug 2019 08:34:42 +0000 (10:34 +0200)
commit12da9f7ec65d66f31a13d16e3f03aefc119c3fa9
tree7ea1c8945ce3cd69d05c403f6be64aac557183e6
parente672f827d955227b3f5088666e509cdb46b808dc
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>
src/util/viruuid.c