diff options
-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 af35e01..dba568a 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)); |