svn commit: r247118 - stable/8/sys/geom/raid

Alexander Motin mav at FreeBSD.org
Thu Feb 21 19:23:36 UTC 2013


Author: mav
Date: Thu Feb 21 19:23:35 2013
New Revision: 247118
URL: http://svnweb.freebsd.org/changeset/base/247118

Log:
  MFC r239175:
  Add missing FAILED event to g_raid_subdisk_event2str() to print it properly
  in debug messages.

Modified:
  stable/8/sys/geom/raid/g_raid.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/geom/   (props changed)

Modified: stable/8/sys/geom/raid/g_raid.c
==============================================================================
--- stable/8/sys/geom/raid/g_raid.c	Thu Feb 21 19:13:19 2013	(r247117)
+++ stable/8/sys/geom/raid/g_raid.c	Thu Feb 21 19:23:35 2013	(r247118)
@@ -224,6 +224,8 @@ g_raid_subdisk_event2str(int event)
 	switch (event) {
 	case G_RAID_SUBDISK_E_NEW:
 		return ("NEW");
+	case G_RAID_SUBDISK_E_FAILED:
+		return ("FAILED");
 	case G_RAID_SUBDISK_E_DISCONNECTED:
 		return ("DISCONNECTED");
 	default:


More information about the svn-src-stable-8 mailing list