From: Todd C. Miller Date: Sat, 4 Sep 1993 19:15:46 +0000 (+0000) Subject: now uses USE_CWD X-Git-Tag: SUDO_1_3_0~104 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d555cdb52ef575020b67f6cfa3f1c96ef0b70a50;p=sudo now uses USE_CWD --- diff --git a/logging.c b/logging.c index e25a6188e..e47c05731 100644 --- 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); }