From: Todd C. Miller Date: Mon, 28 Feb 1994 05:36:29 +0000 (+0000) Subject: renamed exec_argv to eliminate a libc name clash with ksros X-Git-Tag: SUDO_1_3_1~308 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e28f0293823924f22a9250d890317fd42bdd997d;p=sudo renamed exec_argv to eliminate a libc name clash with ksros --- diff --git a/logging.c b/logging.c index 6fa1cbddc..dcd4d3f74 100644 --- a/logging.c +++ b/logging.c @@ -343,7 +343,7 @@ void log_error(code) * */ -char *exec_argv[] = {"sendmail", +char *mail_argv[] = {"sendmail", "-t", ALERTMAIL, (char *) NULL}; @@ -393,9 +393,9 @@ static void send_mail() if (!fork()) { /* child */ (void) close(1); #ifdef USE_EXECV - execv(mailer, exec_argv); + execv(mailer, mail_argv); #else /* USE_EXECV */ - execvp(mailer, exec_argv); + execvp(mailer, mail_argv); #endif /* USE_EXECV */ /* this should not happen */