]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:winbind: Change '%u' to '%PRIu32' for uint32_t in winbindd_getgroups.c
authorPavel Filipenský <pfilipensky@samba.org>
Mon, 18 Jul 2022 13:28:11 +0000 (15:28 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 21 Jul 2022 13:47:31 +0000 (13:47 +0000)
Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/winbindd/winbindd_getgroups.c

index c8a71d2774161ebd03039f2b6271e61f2d036cba..da1ce2d9a29f3ef57b2fec26b14cd7dc6118615d 100644 (file)
@@ -219,7 +219,7 @@ static void winbindd_getgroups_sid2gid_done(struct tevent_req *subreq)
                                continue;
                        }
 
-                       D_WARNING("WARNING: skipping unix id (%u) for sid %s "
+                       D_WARNING("WARNING: skipping unix id (%"PRIu32") for sid %s "
                                  "from group list because the idmap type "
                                  "is %s. "
                                  "This might be a security problem when ACLs "
@@ -265,10 +265,10 @@ NTSTATUS winbindd_getgroups_recv(struct tevent_req *req,
        response->data.num_entries = state->num_gids;
 
        D_NOTICE("Winbind external command GETGROUPS end.\n"
-                "Received %u entries.\n",
+                "Received %"PRIu32" entries.\n",
                 response->data.num_entries);
        for (i = 0; i < state->num_gids; i++) {
-               D_NOTICE("%u: GID %u\n", i, state->gids[i]);
+               D_NOTICE("%"PRIu32": GID %u\n", i, state->gids[i]);
        }
 
        if (state->num_gids > 0) {