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:
rwatson 2005-09-20 13:29:37 +00:00
parent f142f17b2d
commit 390cc7eacc

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