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 );
}