]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:winbind: Change '%u' to '%PRIu32' for uint32_t in winbindd_getuserdomgroups.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_getuserdomgroups.c

index 2325f19ab67b32e226da68fda55b36861092a393..75eb4376c44fcb4aa7ae56208eeb4ea63f3943bb 100644 (file)
@@ -103,7 +103,7 @@ NTSTATUS winbindd_getuserdomgroups_recv(struct tevent_req *req,
                return NT_STATUS_NO_MEMORY;
        }
        D_NOTICE("Winbind external command GETUSERDOMGROUPS end.\n"
-                "Received %u entries.\n",
+                "Received %"PRIu32" entries.\n",
                 state->num_sids);
        for (i=0; i<state->num_sids; i++) {
                struct dom_sid_buf tmp;
@@ -113,7 +113,8 @@ NTSTATUS winbindd_getuserdomgroups_recv(struct tevent_req *req,
                if (sidlist == NULL) {
                        return NT_STATUS_NO_MEMORY;
                }
-               D_NOTICE("%u: %s\n", i, dom_sid_str_buf(&state->sids[i], &tmp));
+               D_NOTICE("%"PRIu32": %s\n",
+                        i, dom_sid_str_buf(&state->sids[i], &tmp));
        }
        response->extra_data.data = sidlist;
        response->length += talloc_get_size(sidlist);