Rename warning/fatal -> sudo_warn/sudo_fatal to avoid namespace

pollution in libsudo_util.so.
This commit is contained in:
Todd C. Miller
2014-06-27 09:30:52 -06:00
parent d36846a699
commit aecef4aa1d
59 changed files with 729 additions and 729 deletions

View File

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