]> granicus.if.org Git - sudo/commitdiff
renamed exec_argv to eliminate a libc name clash with ksros
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 28 Feb 1994 05:36:29 +0000 (05:36 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 28 Feb 1994 05:36:29 +0000 (05:36 +0000)
logging.c

index 6fa1cbddc84263fb353e2cf7220233970bbd5f1b..dcd4d3f745fee6bcf350d27ce3746a9d59e4c249 100644 (file)
--- 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 */