summaryrefslogtreecommitdiffstats
path: root/tests/helpers
diff options
context:
space:
mode:
authorKarel Zak2011-06-14 14:22:58 +0200
committerKarel Zak2011-06-14 14:22:58 +0200
commitaeefa8a4169f93d000cd0eca5dafb491eedd85f0 (patch)
tree2388b4b49253a2af4f2fd5e4a19a72f766229c9b /tests/helpers
parenthwclock: Don't use asm/io.h if sys/io.h can't be found (diff)
downloadkernel-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.c2
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;
}