aboutsummaryrefslogtreecommitdiff
path: root/lib
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 /lib
parent0d88c38881088f0c8ee7a09dbba01821253a778c (diff)
downloadtoybox-860f2634173d269d2dabfcbbccfb7f95dee4106c.tar.gz
Patch from Charlie Shepherd: remove extra \n from error_exit() arguments.
Diffstat (limited to 'lib')
-rw-r--r--lib/args.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/args.c b/lib/args.c
index 8be84d8b..09939fbd 100644
--- a/lib/args.c
+++ b/lib/args.c
@@ -81,7 +81,7 @@ static void gotflag(void)
int type;
// Did we recognize this option?
- if (!gof.this && !gof.noerror) error_exit("Unknown option %s\n", gof.arg);
+ if (!gof.this && !gof.noerror) error_exit("Unknown option %s", gof.arg);
else toys.optflags |= 1 << gof.this->shift;
// Does this option take an argument?