svn commit: r226684 - head/usr.sbin/bsnmpd/modules/snmp_hostres

Ivan Voras ivoras at FreeBSD.org
Mon Oct 24 12:43:20 UTC 2011


Author: ivoras
Date: Mon Oct 24 12:43:20 2011
New Revision: 226684
URL: http://svn.freebsd.org/changeset/base/226684

Log:
  It seems that the warning is much less severe than its message says. The
  device is certainly added to the list after the first pass.

Modified:
  head/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_diskstorage_tbl.c

Modified: head/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_diskstorage_tbl.c
==============================================================================
--- head/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_diskstorage_tbl.c	Mon Oct 24 12:21:58 2011	(r226683)
+++ head/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_diskstorage_tbl.c	Mon Oct 24 12:43:20 2011	(r226684)
@@ -442,7 +442,7 @@ disk_OS_get_disks(void)
 			/*
 			 * not found there - insert it as immutable
 			 */
-			syslog(LOG_WARNING, "%s: device '%s' not in "
+			syslog(LOG_WARNING, "%s: adding device '%s' to "
 			    "device list", __func__, disk);
 
 			if ((entry = device_entry_create(disk, "", "")) == NULL)


More information about the svn-src-head mailing list