]> git.ipfire.org Git - thirdparty/util-linux.git/commit
uuidd: use UUID_STR_LEN and UUID_LEN
authorPetr Uzel <petr.uzel@suse.cz>
Wed, 2 Feb 2011 13:04:35 +0000 (14:04 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 8 Feb 2011 14:03:13 +0000 (15:03 +0100)
commita8f131986cc681b0ed2297d2513f43558c619324
tree42ec28aa495f02ae16ce2a874da2d749ded0c4fd
parent783140784a2adc515798bd1555b39e49b4f70e40
uuidd: use UUID_STR_LEN and UUID_LEN

Use named constants for lentgh of UUID's binary and textual
representation, instead of magic numbers.

[kzak@redhat.com: - use sizeof(uuid_t) rather than hardcoded size]

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/uuidd.c