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

index d3326276744eefd06980501b2298f7a78178ca71..685fc50236ce5b063c46df0af5eab70368e0c80c 100644 (file)
@@ -89,7 +89,7 @@ struct tevent_req *winbindd_getsidaliases_send(TALLOC_CTX *mem_ctx,
                 request->data.sid);
        for (i = 0; i < num_sids; i++) {
                struct dom_sid_buf sidstr;
-               D_NOTICE("%u: %s\n", i, dom_sid_str_buf(&sids[i], &sidstr));
+               D_NOTICE("%"PRIu32": %s\n", i, dom_sid_str_buf(&sids[i], &sidstr));
        }
 
        subreq = wb_lookupuseraliases_send(state, ev, domain, num_sids, sids);
@@ -134,7 +134,7 @@ NTSTATUS winbindd_getsidaliases_recv(struct tevent_req *req,
        sidlist = talloc_strdup(response, "");
 
        D_NOTICE("Winbind external command GETSIDALIASES end.\n"
-                "Received %u alias(es).\n",
+                "Received %"PRIu32" alias(es).\n",
                 state->num_aliases);
        for (i=0; i<state->num_aliases; i++) {
                struct dom_sid sid;
@@ -143,7 +143,7 @@ NTSTATUS winbindd_getsidaliases_recv(struct tevent_req *req,
 
                talloc_asprintf_addbuf(
                        &sidlist, "%s\n", dom_sid_str_buf(&sid, &tmp));
-               D_NOTICE("%u: %s\n", i, dom_sid_str_buf(&sid, &tmp));
+               D_NOTICE("%"PRIu32": %s\n", i, dom_sid_str_buf(&sid, &tmp));
        }
 
        if (sidlist == NULL) {