libsudo_util: make more bit flags unsigned.

This commit is contained in:
Todd C. Miller
2023-07-10 11:06:04 -06:00
parent 9f7128fe83
commit 4f097eebd3
7 changed files with 36 additions and 17 deletions

View File

@@ -519,6 +519,14 @@ sudo_debug_exit_int_v1(const char *func, const char *file, int line,
"<- %s @ %s:%d := %d", func, file, line, ret);
}
void
sudo_debug_exit_uint_v1(const char *func, const char *file, int line,
unsigned int subsys, unsigned int ret)
{
sudo_debug_printf2(NULL, NULL, 0, subsys | SUDO_DEBUG_TRACE,
"<- %s @ %s:%d := %u", func, file, line, ret);
}
void
sudo_debug_exit_long_v1(const char *func, const char *file, int line,
unsigned int subsys, long ret)