Module Name: src Committed By: martin Date: Sat Sep 14 21:52:49 UTC 2013
Modified Files: src/sys/dev/ic: ninjascsi32.c Log Message: Fix detach return value To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/dev/ic/ninjascsi32.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/ic/ninjascsi32.c diff -u src/sys/dev/ic/ninjascsi32.c:1.23 src/sys/dev/ic/ninjascsi32.c:1.24 --- src/sys/dev/ic/ninjascsi32.c:1.23 Sat Sep 14 13:09:55 2013 +++ src/sys/dev/ic/ninjascsi32.c Sat Sep 14 21:52:49 2013 @@ -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 @@ njsc32_detach(struct njsc32_softc *sc, i sc->sc_cmdpg_nsegs); } - return 0; + return rv; } static inline void