svn commit: r241950 - stable/9/sys/geom/raid
Alexander Motin
mav at FreeBSD.org
Tue Oct 23 15:46:02 UTC 2012
Author: mav
Date: Tue Oct 23 15:46:02 2012
New Revision: 241950
URL: http://svn.freebsd.org/changeset/base/241950
Log:
MFC r239175:
Add missing FAILED event to g_raid_subdisk_event2str() to print it properly
in debug messages.
Modified:
stable/9/sys/geom/raid/g_raid.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/geom/raid/g_raid.c
==============================================================================
--- stable/9/sys/geom/raid/g_raid.c Tue Oct 23 15:37:57 2012 (r241949)
+++ stable/9/sys/geom/raid/g_raid.c Tue Oct 23 15:46:02 2012 (r241950)
@@ -222,6 +222,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-9
mailing list