Browse code

core: print number of parameters used for searching cfg function

Daniel-Constantin Mierla authored on 20/05/2014 07:16:01
Showing 1 changed files
... ...
@@ -3275,7 +3275,8 @@ cmd:
3275 3275
 					LOG(L_ERR, "misused command %s\n", $1);
3276 3276
 					yyerror("Command cannot be used in the block\n");
3277 3277
 			} else {
3278
-				LOG(L_ERR, "cfg. parser: failed to find command %s\n", $1);
3278
+				LOG(L_ERR, "cfg. parser: failed to find command %s (params %ld)\n",
3279
+						$1, mod_func_action->val[1].u.number);
3279 3280
 				yyerror("unknown command, missing loadmodule?\n");
3280 3281
 			}
3281 3282
 			free_mod_func_action(mod_func_action);