]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Fix printf format for uid_t|gid_t
authorPhilipp Hahn <hahn@univention.de>
Fri, 22 Feb 2013 16:36:30 +0000 (17:36 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 25 Feb 2013 14:46:32 +0000 (15:46 +0100)
commit7b4b59fa4a84d3c39f3761aa1c7404aca97be780
tree0d8c2fef7ee0be05f772cbe371370cd521b5b28d
parente8b70ab74300245bbd84f114e60d936bbf96a33d
util: Fix printf format for uid_t|gid_t

The uid_t|gid_t values are explicitly casted to "unsigned long", but the
printf() still used "%d", which is for signed values.

Change the format to "%u".

Signed-off-by: Philipp Hahn <hahn@univention.de>
src/util/virutil.c