2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Add sudoers_debug_deregister() and use it instead of calling

sudo_debug_deregister() directly.
This commit is contained in:
Todd C. Miller
2014-10-27 16:06:20 -06:00
parent 0982f7838b
commit 9d6e1a57d5
6 changed files with 24 additions and 17 deletions

View File

@@ -140,7 +140,7 @@ main(int argc, char *argv[])
/* Initialize the debug subsystem. */
sudo_conf_read(NULL, SUDO_CONF_DEBUG);
sudoers_debug_register(sudo_conf_debug_files(getprogname()), getprogname());
sudoers_debug_register(getprogname(), sudo_conf_debug_files(getprogname()));
dflag = 0;
grfile = pwfile = NULL;