mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
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. MFC after: 1 week
This commit is contained in:
parent
5098c3916e
commit
d32e7ba722
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150105
|
@ -144,7 +144,8 @@ getbounds(void) {
|
|||
ret = 0;
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue