summaryrefslogtreecommitdiff
path: root/sh.c
diff options
context:
space:
mode:
authorrsc <rsc>2006-09-06 17:57:47 +0000
committerrsc <rsc>2006-09-06 17:57:47 +0000
commit48b824703b35e17965c738743c7394e1fc0017ec (patch)
tree6ac3358c12018c06bddc9769338bce8061040f43 /sh.c
parent96d467b3a9027412eed8bf5ec3c4521db44469ef (diff)
downloadxv6-labs-48b824703b35e17965c738743c7394e1fc0017ec.tar.gz
xv6-labs-48b824703b35e17965c738743c7394e1fc0017ec.tar.bz2
xv6-labs-48b824703b35e17965c738743c7394e1fc0017ec.zip
break single-line if statements
Diffstat (limited to 'sh.c')
-rw-r--r--sh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sh.c b/sh.c
index f4975e5..a439214 100644
--- a/sh.c
+++ b/sh.c
@@ -149,7 +149,8 @@ runcmd(void)
}
if(strcmp(cmdlist[c].argv[0], "/cd") == 0) {
- if(debug) printf (2, "/cd %s is build in\n", cmdlist[c].argv[1]);
+ if(debug)
+ printf (2, "/cd %s is build in\n", cmdlist[c].argv[1]);
chdir(cmdlist[c].argv[1]);
return;
}