From efbf020d42bea5ec38e1165e6354c0db0f969efc Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 7 Jan 2012 12:24:43 -0500 Subject: [PATCH] Use SUDO_DEBUG_ALIAS for alias checking functions. --- plugins/sudoers/visudo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/sudoers/visudo.c b/plugins/sudoers/visudo.c index 4f1e1e383..9d7158885 100644 --- a/plugins/sudoers/visudo.c +++ b/plugins/sudoers/visudo.c @@ -1046,7 +1046,7 @@ alias_remove_recursive(char *name, int type) struct member *m; struct alias *a; bool rval = true; - debug_decl(alias_remove_recursive, SUDO_DEBUG_UTIL) + debug_decl(alias_remove_recursive, SUDO_DEBUG_ALIAS) if ((a = alias_find(name, type)) != NULL) { tq_foreach_fwd(&a->members, m) { @@ -1069,7 +1069,7 @@ check_alias(char *name, int type, int strict, int quiet) struct member *m; struct alias *a; int errors = 0; - debug_decl(check_alias, SUDO_DEBUG_UTIL) + debug_decl(check_alias, SUDO_DEBUG_ALIAS) if ((a = alias_find(name, type)) != NULL) { /* check alias contents */ @@ -1113,7 +1113,7 @@ check_aliases(bool strict, bool quiet) struct userspec *us; struct defaults *d; int atype, errors = 0; - debug_decl(check_aliases, SUDO_DEBUG_UTIL) + debug_decl(check_aliases, SUDO_DEBUG_ALIAS) alias_freelist = rbcreate(alias_compare); -- 2.50.1