From: Pavel Filipenský Date: Mon, 18 Jul 2022 13:28:11 +0000 (+0200) Subject: s3:winbind: Change '%u' to '%PRIu32' for uint32_t in winbindd_getgroups.c X-Git-Tag: tevent-0.13.0~75 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ec8b50e049142905f0cd963c18274233780b64c7;p=thirdparty%2Fsamba.git s3:winbind: Change '%u' to '%PRIu32' for uint32_t in winbindd_getgroups.c Signed-off-by: Pavel Filipenský Reviewed-by: Andreas Schneider --- diff --git a/source3/winbindd/winbindd_getgroups.c b/source3/winbindd/winbindd_getgroups.c index c8a71d27741..da1ce2d9a29 100644 --- a/source3/winbindd/winbindd_getgroups.c +++ b/source3/winbindd/winbindd_getgroups.c @@ -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) {