s3:winbind: Change '%u' to '%PRIu32' for uint32_t in winbindd_getusersids.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_getusersids.c

index c0716c62d1c30353f429e4e1bdec8e4856c97651..a285c1f3ad8cbb3dc77520b6143ec46735b2689f 100644 (file)
@@ -110,9 +110,11 @@ NTSTATUS winbindd_getusersids_recv(struct tevent_req *req,
        }
 
        D_NOTICE("Winbind external command GETUSERSIDS end.\n"
-                "Got %u SID(s).\n", state->num_sids);
+                "Got %"PRIu32" SID(s).\n", state->num_sids);
        for (i=0; i<state->num_sids; i++) {
-               D_NOTICE("%u: %s\n", i, dom_sid_str_buf(&state->sids[i], &sidbuf));
+               D_NOTICE("%"PRIu32": %s\n",
+                        i,
+                        dom_sid_str_buf(&state->sids[i], &sidbuf));
                talloc_asprintf_addbuf(
                        &result,
                        "%s\n",