Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2011 11:27:55 +0000
From:      oleksandr@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r225347 - soc2011/oleksandr/oleksandr-head/head/sys/cam
Message-ID:  <20110822112755.9965A106564A@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: oleksandr
Date: Mon Aug 22 11:27:55 2011
New Revision: 225347
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=225347

Log:
  Edit the code

Modified:
  soc2011/oleksandr/oleksandr-head/head/sys/cam/cam_periph.c

Modified: soc2011/oleksandr/oleksandr-head/head/sys/cam/cam_periph.c
==============================================================================
--- soc2011/oleksandr/oleksandr-head/head/sys/cam/cam_periph.c	Mon Aug 22 07:55:48 2011	(r225346)
+++ soc2011/oleksandr/oleksandr-head/head/sys/cam/cam_periph.c	Mon Aug 22 11:27:55 2011	(r225347)
@@ -1795,12 +1795,12 @@
          * in devstat and increase the corresponding counters of errors.
          */
         if (error_flag_ret) {
-               if ((device_error = devstat_search(
+                if ((device_error = devstat_search(
                             ccb->ccb_h.path->periph->periph_name,
         	            ccb->ccb_h.path->periph->unit_number)) != NULL) {
-                       devstat_add_error(device_error, error_flag_ret | 
-                                         error_flag_type | error_flag_sense); 
-               }
+                        devstat_add_error(device_error, error_flag_ret | 
+                                          error_flag_type | error_flag_sense); 
+                }
         } 
 	switch (status) {
 	case CAM_REQ_CMP:



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