diff options
-rw-r--r-- | usr.bin/find/function.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c index 3d7f4963b1f..e74714c6b76 100644 --- a/usr.bin/find/function.c +++ b/usr.bin/find/function.c @@ -1,4 +1,4 @@ -/* $OpenBSD: function.c,v 1.49 2020/04/09 15:07:49 jca Exp $ */ +/* $OpenBSD: function.c,v 1.50 2020/11/23 06:21:52 halex Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -564,7 +564,7 @@ c_exec(char *unused, char ***argvp, int isok) */ for (ap = argv = *argvp, brace = 0;; ++ap) { if (!*ap) - errx(1, "%s: no terminating \";\" or \"+\"", + errx(1, "%s: no terminating \";\" or \"{} +\"", isok ? "-ok" : "-exec"); lastbrace = brace; brace = 0; |