s3:torture: Improve the debug message output
authorAndreas Schneider <asn@samba.org>
Thu, 21 Mar 2019 10:55:26 +0000 (11:55 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 21 Mar 2019 20:38:33 +0000 (20:38 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/torture/test_cleanup.c

index d3186db75d2f676ff968d30ce7e08938644a8133..4ee52d4c0179e67a72a60fa17119bf4dcd4a7ae7 100644 (file)
@@ -298,8 +298,10 @@ bool run_cleanup3(int dummy)
                        return false;
                }
 
-               printf("%d %d %d\n", (int)id.devid, (int)id.inode,
-                      (int)id.extid);
+               printf("devid: %lu inode: %lu extid: %lu\n",
+                      (unsigned long)id.devid,
+                      (unsigned long)id.inode,
+                      (unsigned long)id.extid);
 
                lck = get_existing_share_mode_lock(talloc_tos(), id);
                if (lck == NULL) {