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/2397478d4e26
branches:  trunk
changeset: 448662:2397478d4e26
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 e117f5abcf8c -r 2397478d4e26 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