mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +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;
|
new_mask |= priv_mask;
|
||||||
|
|
||||||
DEBUG(10,("grant_privilege: %s\n", dom_sid_str_buf(sid, &buf)));
|
DBG_DEBUG("%s\n"
|
||||||
|
"original privilege mask: 0x%"PRIx64"\n"
|
||||||
DEBUGADD( 10, ("original privilege mask: 0x%llx\n", (unsigned long long)new_mask));
|
"new privilege mask: 0x%"PRIx64"\n",
|
||||||
|
dom_sid_str_buf(sid, &buf),
|
||||||
DEBUGADD( 10, ("new privilege mask: 0x%llx\n", (unsigned long long)new_mask));
|
old_mask,
|
||||||
|
new_mask);
|
||||||
|
|
||||||
return set_privileges( sid, new_mask );
|
return set_privileges( sid, new_mask );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user