summaryrefslogtreecommitdiff
path: root/libexec/rexecd
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2001-07-09 09:24:06 +0000
committerBrian Somers <brian@FreeBSD.org>2001-07-09 09:24:06 +0000
commit7bc6d0158f0e9863a2a13a951321185d214cd3be (patch)
treea109115514a8774e981280efca775db8a410df5b /libexec/rexecd
parentb5b15b9e7fbe55119213a41835516dc91b25e978 (diff)
Notes
Diffstat (limited to 'libexec/rexecd')
-rw-r--r--libexec/rexecd/rexecd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rexecd/rexecd.c b/libexec/rexecd/rexecd.c
index 00b51fd47aed..a12072c16dcc 100644
--- a/libexec/rexecd/rexecd.c
+++ b/libexec/rexecd/rexecd.c
@@ -297,7 +297,7 @@ doit(f, fromp)
error("No remote directory.\n");
exit(1);
}
- execl(pwd->pw_shell, cp, "-c", cmdbuf, 0);
+ execl(pwd->pw_shell, cp, "-c", cmdbuf, (char *)0);
err(1, "%s", pwd->pw_shell);
}