summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2007-04-18 17:21:28 +0000
committerDenis Vlasenko2007-04-18 17:21:28 +0000
commit55b2de71d73d2d62fdc8a920b12644ff3c3fc0ef (patch)
tree07f7ad94f461170d63f9e6d98810a539d691c100
parent517d1aac7f42958a2b1c3c1f7ffbf83731c6e263 (diff)
downloadbusybox-55b2de71d73d2d62fdc8a920b12644ff3c3fc0ef.zip
busybox-55b2de71d73d2d62fdc8a920b12644ff3c3fc0ef.tar.gz
hush: remove stray semicolon (should change nothing)
-rw-r--r--shell/hush.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 6173afc..08357ca 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -22,7 +22,7 @@
* Other credits:
* b_addchr() derived from similar w_addchar function in glibc-2.2
* setup_redirect(), redirect_opt_num(), and big chunks of main()
- * and many builtins derived from contributions by Erik Andersen
+ * and many builtins derived from contributions by Erik Andersen
* miscellaneous bugfixes from Matt Kraai
*
* There are two big (and related) architecture differences between
@@ -298,7 +298,7 @@ static char *indenter(int i)
return &blanks[sizeof(blanks)-i-1];
}
#else
-#define debug_printf(...) do {;} while (0);
+#define debug_printf(...) do {} while (0)
#endif
#define final_printf debug_printf
@@ -2758,7 +2758,7 @@ int hush_main(int argc, char **argv)
}
/* A shell is interactive if the '-i' flag was given, or if all of
* the following conditions are met:
- * no -c command
+ * no -c command
* no arguments remaining or the -s flag given
* standard input is a terminal
* standard output is a terminal