Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2012 15:46:02 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r241950 - stable/9/sys/geom/raid
Message-ID:  <201210231546.q9NFk2aM001890@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



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