]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
test_sysinfo: fix printf format
authorKarel Zak <kzak@redhat.com>
Tue, 14 Jun 2011 12:22:58 +0000 (14:22 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 14 Jun 2011 12:22:58 +0000 (14:22 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/helpers/test_sysinfo.c

index a8d80d8759edd8003601b0073e646849ef329fe2..bc0eea22d9e116777c6e025347b77b557ba14129 100644 (file)
@@ -28,7 +28,7 @@ typedef struct {
 int
 hlp_wordsize(void)
 {
-       printf("%d\n", CHAR_BIT*sizeof(void*));
+       printf("%lu\n", CHAR_BIT * sizeof(void*));
        return 0;
 }