use log_fatal instead of stderr

This commit is contained in:
Eric Wustrow
2013-08-17 01:39:51 -04:00
2 changed files with 45 additions and 1 deletions

View File

@ -57,7 +57,7 @@ int udp_global_initialize(struct state_conf * zconf) {
if (! c) {
free(args);
free(udp_send_msg);
log_fatal("udp", "unknown UDP probe specification (expected type:value, like file:/path or text:STRING or hex:01020304)");
log_fatal("udp", "unknown UDP probe specification (expected file:/path or text:STRING or hex:01020304)");
exit(1);
}