]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
net: use correct printf format, fi3_id is an uint32_t
authorRalph Boehme <slow@samba.org>
Tue, 10 Jan 2017 11:22:28 +0000 (12:22 +0100)
committerVolker Lendecke <vl@samba.org>
Thu, 24 Nov 2022 16:39:12 +0000 (16:39 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Nov 24 16:39:12 UTC 2022 on sn-devel-184

source3/utils/net_rpc.c

index 1c89ffcd5e519c087e33afebf3810ed6b5a35328..e1a0c491dd41cbd48b25f4b207614d34d027c0e5 100644 (file)
@@ -5644,7 +5644,7 @@ static int rpc_file_close(struct net_context *c, int argc, const char **argv)
 
 static void display_file_info_3(struct FILE_INFO_3 *r)
 {
-       d_printf("%-7.1d %-20.20s 0x%-4.2x %-6.1d %s\n",
+       d_printf("%-7.1" PRIu32 " %-20.20s 0x%-4.2x %-6.1u %s\n",
                 r->fi3_id, r->fi3_username, r->fi3_permissions,
                 r->fi3_num_locks, r->fi3_pathname);
 }