Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/raidframe fix half edited line.



details:   https://anonhg.NetBSD.org/src/rev/2fe18aadb243
branches:  trunk
changeset: 996697:2fe18aadb243
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Feb 06 15:39:41 2019 +0000

description:
fix half edited line.

diffstat:

 sys/dev/raidframe/rf_compat32.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 934b01fda52d -r 2fe18aadb243 sys/dev/raidframe/rf_compat32.c
--- a/sys/dev/raidframe/rf_compat32.c   Wed Feb 06 14:12:25 2019 +0000
+++ b/sys/dev/raidframe/rf_compat32.c   Wed Feb 06 15:39:41 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_compat32.c,v 1.3 2019/02/05 23:28:02 christos Exp $ */
+/*     $NetBSD: rf_compat32.c,v 1.4 2019/02/06 15:39:41 christos Exp $ */
 
 /*
  * Copyright (c) 2017 Matthew R. Green
@@ -152,7 +152,7 @@
  
        switch (cmd) {
        case RAIDFRAME_GET_INFO32:
-               if (!rf_inited(rs) == 0)
+               if (!rf_inited(rs))
                        return ENXIO;
                return rf_get_info_netbsd32(raidPtr, data);
        case RAIDFRAME_CONFIGURE32:



Home | Main Index | Thread Index | Old Index