aboutsummaryrefslogtreecommitdiff
path: root/main.c
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 /main.c
parent0d88c38881088f0c8ee7a09dbba01821253a778c (diff)
downloadtoybox-860f2634173d269d2dabfcbbccfb7f95dee4106c.tar.gz
Patch from Charlie Shepherd: remove extra \n from error_exit() arguments.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 7a9aea3d..ba9dc947 100644
--- a/main.c
+++ b/main.c
@@ -94,7 +94,7 @@ int toybox_main(void)
if (toys.argv[1]) {
if (toys.argv[1][0]!='-') {
toy_exec(toys.argv+1);
- error_exit("Unknown command %s\n",toys.argv[1]);
+ error_exit("Unknown command %s",toys.argv[1]);
}
}