diff options
author | tjr <tjr@FreeBSD.org> | 2004-07-29 03:33:55 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2004-07-29 03:33:55 +0000 |
commit | 1f569a21a660bb53979844a1d804b04c33355750 (patch) | |
tree | 43592f6480321e230db61a3e329a8a968988987d | |
parent | 5ffd238aa506990cf3ca5d2368bb8996acf7d311 (diff) | |
download | FreeBSD-src-1f569a21a660bb53979844a1d804b04c33355750.zip FreeBSD-src-1f569a21a660bb53979844a1d804b04c33355750.tar.gz |
Change the 'no terminating ";"' error message to 'no terminating ";" or "+"'
since + is also a valid way to terminate -exec.
-rw-r--r-- | usr.bin/find/function.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |