mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
smbd: Avoid a cast
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
parent
421cab80d8
commit
ae7e1cb053
@ -132,9 +132,9 @@ static NTSTATUS smbd_check_access_rights_fname(
|
||||
|
||||
if (!use_privs && get_current_uid(conn) == (uid_t)0) {
|
||||
/* I'm sorry sir, I didn't know you were root... */
|
||||
DBG_DEBUG("root override on %s. Granting 0x%x\n",
|
||||
DBG_DEBUG("root override on %s. Granting 0x%" PRIx32 "\n",
|
||||
smb_fname_str_dbg(smb_fname),
|
||||
(unsigned int)access_mask);
|
||||
access_mask);
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user