mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
Parsing error messages display only the first 80 characters of the
offending line. It is fruitless to try to position the "^" at a character more than 80 characters from the start of the line.
This commit is contained in:
parent
c255d9b662
commit
8617a7aeab
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: parse.c,v 1.79 2018/01/04 03:02:05 krw Exp $ */
|
||||
/* $OpenBSD: parse.c,v 1.80 2019/03/19 23:57:30 krw Exp $ */
|
||||
|
||||
/* Common parser code for dhcpd and dhclient. */
|
||||
|
||||
@ -328,6 +328,6 @@ parse_warn(char *msg)
|
||||
else
|
||||
spaces[i] = ' ';
|
||||
}
|
||||
log_warnx("%s: %s^", log_procname, spaces);
|
||||
}
|
||||
log_warnx("%s: %s^", log_procname, spaces);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user