From e22bb9db9ad960e0e14066cfc519c7585d20f4cd Mon Sep 17 00:00:00 2001 From: "Tim J. Robbins" Date: Thu, 29 Jul 2004 03:33:55 +0000 Subject: [PATCH] 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(-) diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c index e4b6dc3a5424..56d201c5ef70 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) {