Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Fix detach return value



details:   https://anonhg.NetBSD.org/src/rev/a42ffbfb5684
branches:  trunk
changeset: 790008:a42ffbfb5684
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Sep 14 21:52:49 2013 +0000

description:
Fix detach return value

diffstat:

 sys/dev/ic/ninjascsi32.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d34ed34fe9ed -r a42ffbfb5684 sys/dev/ic/ninjascsi32.c
--- a/sys/dev/ic/ninjascsi32.c  Sat Sep 14 21:48:49 2013 +0000
+++ b/sys/dev/ic/ninjascsi32.c  Sat Sep 14 21:52:49 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ninjascsi32.c,v 1.23 2013/09/14 13:09:55 joerg Exp $   */
+/*     $NetBSD: ninjascsi32.c,v 1.24 2013/09/14 21:52:49 martin Exp $  */
 
 /*-
  * Copyright (c) 2004, 2006, 2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ninjascsi32.c,v 1.23 2013/09/14 13:09:55 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ninjascsi32.c,v 1.24 2013/09/14 21:52:49 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -714,7 +714,7 @@
                    sc->sc_cmdpg_nsegs);
        }
 
-       return 0;
+       return rv;
 }
 
 static inline void



Home | Main Index | Thread Index | Old Index