Make the error messages consistent

This commit is contained in:
HD Moore 2013-08-16 22:16:29 -05:00
parent 75de805f41
commit cfdbe3bbc2

View File

@ -52,7 +52,7 @@ int udp_global_initialize(struct state_conf * zconf) {
args = strdup(zconf->probe_args); args = strdup(zconf->probe_args);
c = strchr(args, ':'); c = strchr(args, ':');
if (! c) { if (! c) {
fprintf(stderr, "error: unknown UDP probe specification (expected type:value, like file:/path or text:STRING or hex:01020304)\n"); fprintf(stderr, "error: unknown UDP probe specification (expected file:/path, text:STRING, or hex:01020304)\n");
free(args); free(args);
exit(1); exit(1);
} }