From 1f569a21a660bb53979844a1d804b04c33355750 Mon Sep 17 00:00:00 2001 From: tjr Date: Thu, 29 Jul 2004 03:33:55 +0000 Subject: Change the 'no terminating ";"' error message to 'no terminating ";" or "+"' since + is also a valid way to terminate -exec. --- usr.bin/find/function.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin') diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c index e4b6dc3..56d201c 100644 --- a/usr.bin/find/function.c +++ b/usr.bin/find/function.c @@ -674,7 +674,7 @@ c_exec(OPTION *option, char ***argvp) for (ap = argv = *argvp;; ++ap) { if (!*ap) errx(1, - "%s: no terminating \";\"", option->name); + "%s: no terminating \";\" or \"+\"", option->name); if (**ap == ';') break; if (**ap == '+' && ap != argv && strcmp(*(ap - 1), "{}") == 0) { -- cgit v1.1