[Midnightbsd-cvs] src [8252] trunk/sys/geom/raid/g_raid.c: add missing failed event to g_raid_subdisk_event2str
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Sep 17 17:35:42 EDT 2016
Revision: 8252
http://svnweb.midnightbsd.org/src/?rev=8252
Author: laffer1
Date: 2016-09-17 17:35:42 -0400 (Sat, 17 Sep 2016)
Log Message:
-----------
add missing failed event to g_raid_subdisk_event2str
Modified Paths:
--------------
trunk/sys/geom/raid/g_raid.c
Modified: trunk/sys/geom/raid/g_raid.c
===================================================================
--- trunk/sys/geom/raid/g_raid.c 2016-09-17 21:35:14 UTC (rev 8251)
+++ trunk/sys/geom/raid/g_raid.c 2016-09-17 21:35:42 UTC (rev 8252)
@@ -222,6 +222,8 @@
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 Midnightbsd-cvs
mailing list