]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbclient: Modernize a d_printf
authorVolker Lendecke <vl@samba.org>
Sun, 21 Jul 2024 10:38:25 +0000 (12:38 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 6 Aug 2024 16:29:33 +0000 (16:29 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/client/client.c

index 49f9de84f264a9883d2f6f2a30b2de732dfabb6b..08cf63018f38a144d4d6a4766ea307882c46f4e5 100644 (file)
@@ -3182,7 +3182,9 @@ static int cmd_posix(void)
                return 1;
        }
 
-       d_printf("Server supports CIFS extensions %u.%u\n", (unsigned int)major, (unsigned int)minor);
+       d_printf("Server supports CIFS extensions %" PRIu16 ".%" PRIu16 "\n",
+                major,
+                minor);
 
        caps = talloc_strdup(ctx, "");
        if (caplow & CIFS_UNIX_FCNTL_LOCKS_CAP) {