From: Ralph Boehme Date: Tue, 10 Jan 2017 11:22:28 +0000 (+0100) Subject: net: use correct printf format, fi3_id is an uint32_t X-Git-Tag: talloc-2.4.0~479 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b9ccfa4ac73332f324426dec940579e5eac96bc;p=thirdparty%2Fsamba.git net: use correct printf format, fi3_id is an uint32_t Signed-off-by: Ralph Boehme Reviewed-by: Volker Lendecke Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Thu Nov 24 16:39:12 UTC 2022 on sn-devel-184 --- diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 1c89ffcd5e5..e1a0c491dd4 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -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); }