aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-11-27 01:41:32 -0600
committerRob Landley <rob@landley.net>2007-11-27 01:41:32 -0600
commit860f2634173d269d2dabfcbbccfb7f95dee4106c (patch)
tree07756b9c17e165386de2e1a6c279e57a2a0d1c69 /toys
parent0d88c38881088f0c8ee7a09dbba01821253a778c (diff)
downloadtoybox-860f2634173d269d2dabfcbbccfb7f95dee4106c.tar.gz
Patch from Charlie Shepherd: remove extra \n from error_exit() arguments.
Diffstat (limited to 'toys')
-rw-r--r--toys/help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/help.c b/toys/help.c
index 4687d0ec..ea70a1bf 100644
--- a/toys/help.c
+++ b/toys/help.c
@@ -20,7 +20,7 @@ int help_main(void)
int i = t-toy_list;
char *s = help_data;
- if (!t) error_exit("Unknown command '%s'\n", *toys.optargs);
+ if (!t) error_exit("Unknown command '%s'", *toys.optargs);
for (;;) {
while (i--) s += strlen(s) + 1;
if (*s != 255) break;