From e794dc8249450a31cf35cb2aa88a33779325b689 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 9 Jul 2001 07:05:10 +0000 Subject: correct type on last arg to execl(); nordin@cse.ogi.edu --- gnu/usr.sbin/sendmail/smrsh/smrsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/usr.sbin/sendmail/smrsh') diff --git a/gnu/usr.sbin/sendmail/smrsh/smrsh.c b/gnu/usr.sbin/sendmail/smrsh/smrsh.c index 35fa47cb223..fac4dfc7361 100644 --- a/gnu/usr.sbin/sendmail/smrsh/smrsh.c +++ b/gnu/usr.sbin/sendmail/smrsh/smrsh.c @@ -371,7 +371,7 @@ main(argc, argv) #ifdef DEBUG printf("%s\n", newcmdbuf); #endif /* DEBUG */ - (void) execle("/bin/sh", "/bin/sh", "-c", newcmdbuf, NULL, newenv); + (void) execle("/bin/sh", "/bin/sh", "-c", newcmdbuf, (char *)NULL, newenv); save_errno = errno; #ifndef DEBUG syslog(LOG_CRIT, "Cannot exec /bin/sh: %m"); -- cgit v1.2.3