]> Devi Nivas Git - cs3210-lab1.git/commitdiff
oops
authorrsc <rsc>
Tue, 28 Aug 2007 04:19:47 +0000 (04:19 +0000)
committerrsc <rsc>
Tue, 28 Aug 2007 04:19:47 +0000 (04:19 +0000)
sh.c

diff --git a/sh.c b/sh.c
index fbe8c136385cf81d283304d18151d1a9e00e803d..ed2c1d967d485d2ce91bc83a3fac13f113a86d4f 100644 (file)
--- 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;