1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

net: use correct printf format, fi3_id is an uint32_t

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
This commit is contained in:
Ralph Boehme 2017-01-10 12:22:28 +01:00 committed by Volker Lendecke
parent 95676825ad
commit 3b9ccfa4ac

View 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);
}