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. --- toys/help.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/help.c') 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; -- cgit v1.2.3