[PATCH] tests/btrfs.c: fix build on x32
Gleb Fotengauer-Malinovskiy
glebfm at altlinux.org
Tue May 24 15:23:21 UTC 2016
* tests/btrfs.c (btrfs_test_ino_path_ioctls): Fix printing of st_ino.
---
tests/btrfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/btrfs.c b/tests/btrfs.c
index 6d4d1ed..bac7d66 100644
--- a/tests/btrfs.c
+++ b/tests/btrfs.c
@@ -1264,8 +1264,8 @@ btrfs_test_ino_path_ioctls(void)
data->bytes_left, data->bytes_missing, data->elem_cnt,
data->elem_missed);
if (verbose) {
- printf("[{inum=%lu, offset=0, root=5}]",
- si.st_ino);
+ printf("[{inum=%llu, offset=0, root=5}]",
+ (unsigned long long) si.st_ino);
} else
printf("...");
printf("}}) = 0\n");
--
glebfm
More information about the Strace-devel
mailing list