diff --git a/src/getdata.c b/src/getdata.c index 05adee5..906fa27 100644 --- a/src/getdata.c +++ b/src/getdata.c @@ -257,8 +257,9 @@ void parse_config(int is_include, const char *restrict config_file, break; } else if (argument == ITS_A_RANGE_SECOND_IP && i == 0) { if (!range_p) { - puts("parse_config: range_p uninitialized: report a bug"); - abort(); + fpos_t pos; + fgetpos(dhcpd_config, &pos); + error(EXIT_FAILURE, 0, "parse_config: parsing failed at position: %Ld", pos); } range_p->last_ip = range_p->first_ip; goto newrange;