diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2015-06-28 20:32:03 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2015-06-28 20:32:03 +0000 |
commit | 323762899949e3231e6fa302bf0bb5350e352d89 (patch) | |
tree | 2ad17d88deef0239015600b5fee0239e3d20d98c | |
parent | 619e4f78fe10c3d00e3bdd2e17d03602aefcdc05 (diff) | |
download | src-test2-323762899949e3231e6fa302bf0bb5350e352d89.tar.gz src-test2-323762899949e3231e6fa302bf0bb5350e352d89.zip |
Notes
-rw-r--r-- | usr.sbin/dconschat/dconschat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/dconschat/dconschat.c b/usr.sbin/dconschat/dconschat.c index af35e011b4b0..dba568aac7de 100644 --- a/usr.sbin/dconschat/dconschat.c +++ b/usr.sbin/dconschat/dconschat.c @@ -229,7 +229,7 @@ dconschat_fork_gdb(struct dcons_state *dc, struct dcons_port *p) snprintf(buf, 256, "\n[fork %s]\n", com); write(p->outfd, buf, strlen(buf)); - execl("/bin/sh", "/bin/sh", "-c", com, 0); + execl("/bin/sh", "/bin/sh", "-c", com, NULL); snprintf(buf, 256, "\n[fork failed]\n"); write(p->outfd, buf, strlen(buf)); |