1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

libcli/security: Use portable format specifiers

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-08-01 15:47:50 +12:00 committed by Andrew Bartlett
parent dbf53bf3d5
commit aa0cddad52

View File

@ -50,13 +50,13 @@ void security_token_debug(int dbg_class, int dbg_lev, const struct security_toke
return;
}
DEBUGC(dbg_class, dbg_lev, ("Security token SIDs (%lu):\n",
(unsigned long)token->num_sids));
DEBUGC(dbg_class, dbg_lev, ("Security token SIDs (%"PRIu32"):\n",
token->num_sids));
for (i = 0; i < token->num_sids; i++) {
struct dom_sid_buf sidbuf;
DEBUGADDC(dbg_class,
dbg_lev,
(" SID[%3lu]: %s\n", (unsigned long)i,
(" SID[%3"PRIu32"]: %s\n", i,
dom_sid_str_buf(&token->sids[i], &sidbuf)));
}