diff options
author | Karel Zak | 2011-06-14 14:22:58 +0200 |
---|---|---|
committer | Karel Zak | 2011-06-14 14:22:58 +0200 |
commit | aeefa8a4169f93d000cd0eca5dafb491eedd85f0 (patch) | |
tree | 2388b4b49253a2af4f2fd5e4a19a72f766229c9b /tests/helpers | |
parent | hwclock: Don't use asm/io.h if sys/io.h can't be found (diff) | |
download | kernel-qcow2-util-linux-aeefa8a4169f93d000cd0eca5dafb491eedd85f0.tar.gz kernel-qcow2-util-linux-aeefa8a4169f93d000cd0eca5dafb491eedd85f0.tar.xz kernel-qcow2-util-linux-aeefa8a4169f93d000cd0eca5dafb491eedd85f0.zip |
test_sysinfo: fix printf format
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/helpers')
-rw-r--r-- | tests/helpers/test_sysinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers/test_sysinfo.c b/tests/helpers/test_sysinfo.c index a8d80d875..bc0eea22d 100644 --- a/tests/helpers/test_sysinfo.c +++ b/tests/helpers/test_sysinfo.c @@ -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; } |