]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:winbind: Change '%u' to '%PRIu32' for uint32_t in wb_queryuser.c
authorPavel Filipenský <pfilipensky@samba.org>
Mon, 18 Jul 2022 13:28:10 +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/wb_queryuser.c

index 8215adb8298502d20871a9cd5ddcd08b68f10e83..c079cbcfd9041984bd2ed760428c4091d6ec5739 100644 (file)
@@ -131,7 +131,7 @@ static void wb_queryuser_got_uid(struct tevent_req *subreq)
                return;
        }
 
-       D_DEBUG("Received XID %u for SID %s.\n",
+       D_DEBUG("Received XID %"PRIu32" for SID %s.\n",
                xid.id,
                dom_sid_str_buf(&info->user_sid, &buf1));
        info->uid = xid.id;
@@ -397,7 +397,7 @@ static void wb_queryuser_got_gid(struct tevent_req *subreq)
                return;
        }
 
-       D_DEBUG("Got XID %u with type %d.\n", xid.id, xid.type);
+       D_DEBUG("Got XID %"PRIu32" with type %d.\n", xid.id, xid.type);
        if ((xid.type != ID_TYPE_GID) && (xid.type != ID_TYPE_BOTH)) {
                D_WARNING("Returning NT_STATUS_NO_SUCH_USER\n"
                          "xid.type must be ID_TYPE_UID or ID_TYPE_BOTH.\n");