mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
lib: Modernize (and fix) a DBG statement
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
36303bbdec
commit
8e741b596e
@ -352,11 +352,12 @@ static bool grant_privilege_bitmap(const struct dom_sid *sid, const uint64_t pri
|
||||
|
||||
new_mask |= priv_mask;
|
||||
|
||||
DEBUG(10,("grant_privilege: %s\n", dom_sid_str_buf(sid, &buf)));
|
||||
|
||||
DEBUGADD( 10, ("original privilege mask: 0x%llx\n", (unsigned long long)new_mask));
|
||||
|
||||
DEBUGADD( 10, ("new privilege mask: 0x%llx\n", (unsigned long long)new_mask));
|
||||
DBG_DEBUG("%s\n"
|
||||
"original privilege mask: 0x%"PRIx64"\n"
|
||||
"new privilege mask: 0x%"PRIx64"\n",
|
||||
dom_sid_str_buf(sid, &buf),
|
||||
old_mask,
|
||||
new_mask);
|
||||
|
||||
return set_privileges( sid, new_mask );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user