Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2012 13:36:33 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r239175 - head/sys/geom/raid
Message-ID:  <201208101336.q7ADaXRT039088@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Fri Aug 10 13:36:33 2012
New Revision: 239175
URL: http://svn.freebsd.org/changeset/base/239175

Log:
  Add missing FAILED event to g_raid_subdisk_event2str() to print it properly
  in debug messages.
  
  Submitted by:	Dmitry Luhtionov <dmitryluhtionov@gmail.com>

Modified:
  head/sys/geom/raid/g_raid.c

Modified: head/sys/geom/raid/g_raid.c
==============================================================================
--- head/sys/geom/raid/g_raid.c	Fri Aug 10 11:11:04 2012	(r239174)
+++ head/sys/geom/raid/g_raid.c	Fri Aug 10 13:36:33 2012	(r239175)
@@ -218,6 +218,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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208101336.q7ADaXRT039088>