diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-09 07:05:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-09 07:05:10 +0000 |
commit | e794dc8249450a31cf35cb2aa88a33779325b689 (patch) | |
tree | 7fe943aa48c43bd24ed6b9267ab44c0191c44d4a /gnu/usr.sbin/sendmail/smrsh | |
parent | 5b1ba3114a10793470c731e714160f24131b690d (diff) |
correct type on last arg to execl(); nordin@cse.ogi.edu
Diffstat (limited to 'gnu/usr.sbin/sendmail/smrsh')
-rw-r--r-- | gnu/usr.sbin/sendmail/smrsh/smrsh.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |