From 860f2634173d269d2dabfcbbccfb7f95dee4106c Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 27 Nov 2007 01:41:32 -0600 Subject: Patch from Charlie Shepherd: remove extra \n from error_exit() arguments. --- lib/args.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/args.c') 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? -- cgit v1.2.3