Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Or the config_deactivate() return values.
details: https://anonhg.NetBSD.org/src/rev/3d5ecc4d1d2b
branches: trunk
changeset: 554496:3d5ecc4d1d2b
user: mycroft <mycroft%NetBSD.org@localhost>
date: Tue Oct 28 23:33:46 2003 +0000
description:
Or the config_deactivate() return values.
diffstat:
sys/dev/usb/uvisor.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a783ddfaa978 -r 3d5ecc4d1d2b sys/dev/usb/uvisor.c
--- a/sys/dev/usb/uvisor.c Tue Oct 28 23:26:28 2003 +0000
+++ b/sys/dev/usb/uvisor.c Tue Oct 28 23:33:46 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvisor.c,v 1.21 2003/08/03 21:59:26 nathanw Exp $ */
+/* $NetBSD: uvisor.c,v 1.22 2003/10/28 23:33:46 mycroft Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvisor.c,v 1.21 2003/08/03 21:59:26 nathanw Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvisor.c,v 1.22 2003/10/28 23:33:46 mycroft Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -383,7 +383,7 @@
case DVACT_DEACTIVATE:
for (i = 0; i < sc->sc_numcon; i++)
if (sc->sc_subdevs[i] != NULL)
- rv = config_deactivate(sc->sc_subdevs[i]);
+ rv |= config_deactivate(sc->sc_subdevs[i]);
sc->sc_dying = 1;
break;
}
Home |
Main Index |
Thread Index |
Old Index