1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-08 05:57:51 +03:00

s3:winbind: Change '%u' to '%PRIu32' for uint32_t in winbindd_getgroups.c

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Pavel Filipenský 2022-07-18 15:28:11 +02:00 committed by Andreas Schneider
parent 23b0842b63
commit ec8b50e049

View 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) {