summaryrefslogtreecommitdiff
path: root/sh.c
diff options
context:
space:
mode:
authorrsc <rsc>2007-08-28 04:19:47 +0000
committerrsc <rsc>2007-08-28 04:19:47 +0000
commit1baead533fe8d10d91b10967ac9c536fa2e41585 (patch)
treeaabc36806d2b3cce354e4588ad589eaf6c2c8eb1 /sh.c
parentb9432848937dc5250a90f9c9325af5bd4a59ade9 (diff)
downloadxv6-labs-1baead533fe8d10d91b10967ac9c536fa2e41585.tar.gz
xv6-labs-1baead533fe8d10d91b10967ac9c536fa2e41585.tar.bz2
xv6-labs-1baead533fe8d10d91b10967ac9c536fa2e41585.zip
oops
Diffstat (limited to 'sh.c')
-rw-r--r--sh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh.c b/sh.c
index fbe8c13..ed2c1d9 100644
--- a/sh.c
+++ b/sh.c
@@ -439,7 +439,7 @@ parseexec(char **ps, char *es)
}
// NUL-terminate all the counted strings.
-struct cmd:
+struct cmd*
nulterminate(struct cmd *cmd)
{
int i;