summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/format.c b/src/format.c
index 53ddda9..6250ad2 100644
--- a/src/format.c
+++ b/src/format.c
@@ -1057,9 +1057,9 @@ format_deref_f(struct plugin_state *state, Slapi_PBlock *pb, Slapi_Entry *e,
"deref_f: error parsing arguments\n");
return -EINVAL;
}
- if (argc != 2) {
+ if (argc != 3) {
slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc->spd_id,
- "deref_f: requires two arguments\n");
+ "deref_f: requires three arguments\n");
format_free_parsed_args(argv);
return -EINVAL;
}