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:
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to