Merge savecore.c:1.76 from HEAD to RELENG_6:
Don't consider being unable to open the bounds file worthy of printing at LOG_WARNING by default; instead, consider it something to be printed to the tty when 'verbose' mode is set. This avoids printing out extra lines at every boot on a system with crash dumps enabled, but that has not yet had to generate a crashdump. Approved by: re (kensmith)
This commit is contained in:
parent
f142f17b2d
commit
390cc7eacc
@ -144,7 +144,8 @@ getbounds(void) {
|
|||||||
ret = 0;
|
ret = 0;
|
||||||
|
|
||||||
if ((fp = fopen("bounds", "r")) == NULL) {
|
if ((fp = fopen("bounds", "r")) == NULL) {
|
||||||
syslog(LOG_WARNING, "unable to open bounds file, using 0");
|
if (verbose)
|
||||||
|
printf("unable to open bounds file, using 0\n");
|
||||||
return (ret);
|
return (ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user