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:
Robert Watson 2005-09-13 19:15:28 +00:00
parent 5098c3916e
commit d32e7ba722
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150105

View file

@ -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);
}