diff --git a/find/parser.c b/find/parser.c
index a707546..c10d56b 100644
--- a/find/parser.c
+++ b/find/parser.c
@@ -1312,7 +1312,14 @@
      /* Because this item is ARG_SPECIAL_PARSE, we have to advance arg_ptr
       * past the test name (for most other tests, this is already done)
       */
-     (*arg_ptr)++;
+
+      if(argv[*arg_ptr + 1] != NULL)
+          (*arg_ptr)++;
+      else
+      {
+      error(1, 0, _("The %s test needs an argument"),
+                          quotearg_n_style(0, options.err_quoting_style, argv[*arg_ptr]));
+      }

      our_pred = insert_primary (entry);
