]> granicus.if.org Git - sudo/commitdiff
now uses USE_CWD
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 4 Sep 1993 19:15:46 +0000 (19:15 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 4 Sep 1993 19:15:46 +0000 (19:15 +0000)
logging.c

index e25a6188e666843a6db91e45ad0364a1f98e9ae1..e47c057319d0573b1f9037867aba1f0172eef81a 100644 (file)
--- a/logging.c
+++ b/logging.c
@@ -285,9 +285,9 @@ if ( ! fork () ) {
     /*      child                                parent     */
 
     (void) close(1);
-    execve ( mailer, exec_argv, Envp );
+    execv ( mailer, exec_argv );
     /* this should not happen */
-    perror ("execve");
+    perror( "execv");
     exit (1);
 
     }