[prev in list] [next in list] [prev in thread] [next in thread] 

List:       strace
Subject:    [PATCH] tests/btrfs.c: fix build on x32
From:       Gleb Fotengauer-Malinovskiy <glebfm () altlinux ! org>
Date:       2016-05-24 15:23:21
Message-ID: 20160524152316.GA8716 () glebfm ! cloud ! tilaa ! com
[Download RAW message or body]

* 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

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic