Rename warning2()/error2() -> warning_nodebug()/error_nodebug().

This commit is contained in:
Todd C. Miller
2012-11-25 09:34:10 -05:00
parent 7b3d268687
commit 4bde57b8b2
10 changed files with 79 additions and 79 deletions

View File

@@ -77,7 +77,7 @@ process_hooks_setenv(const char *name, const char *value, int overwrite)
case SUDO_HOOK_RET_STOP:
goto done;
default:
warningx2("invalid setenv hook return value: %d", rc);
warningx_nodebug("invalid setenv hook return value: %d", rc);
break;
}
}
@@ -102,7 +102,7 @@ process_hooks_putenv(char *string)
case SUDO_HOOK_RET_STOP:
goto done;
default:
warningx2("invalid putenv hook return value: %d", rc);
warningx_nodebug("invalid putenv hook return value: %d", rc);
break;
}
}
@@ -128,7 +128,7 @@ process_hooks_getenv(const char *name, char **value)
case SUDO_HOOK_RET_STOP:
goto done;
default:
warningx2("invalid getenv hook return value: %d", rc);
warningx_nodebug("invalid getenv hook return value: %d", rc);
break;
}
}
@@ -155,7 +155,7 @@ process_hooks_unsetenv(const char *name)
case SUDO_HOOK_RET_STOP:
goto done;
default:
warningx2("invalid unsetenv hook return value: %d", rc);
warningx_nodebug("invalid unsetenv hook return value: %d", rc);
break;
}
}