Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/thorpej_scsipi]: src/sys/dev/scsipi oops: reversed conditional
details: https://anonhg.NetBSD.org/src/rev/ad1db5ba3ad7
branches: thorpej_scsipi
changeset: 477474:ad1db5ba3ad7
user: mjacob <mjacob%NetBSD.org@localhost>
date: Wed Apr 11 01:19:47 2001 +0000
description:
oops: reversed conditional
diffstat:
sys/dev/scsipi/scsiconf.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ed21cde73023 -r ad1db5ba3ad7 sys/dev/scsipi/scsiconf.c
--- a/sys/dev/scsipi/scsiconf.c Wed Apr 11 01:16:04 2001 +0000
+++ b/sys/dev/scsipi/scsiconf.c Wed Apr 11 01:19:47 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scsiconf.c,v 1.130.2.11 2001/04/11 01:16:04 mjacob Exp $ */
+/* $NetBSD: scsiconf.c,v 1.130.2.12 2001/04/11 01:19:47 mjacob Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -156,7 +156,7 @@
sc->sc_channel = chan;
/* Initialize the channel structure first */
- if (scsipi_channel_init(chan) == 0) {
+ if (scsipi_channel_init(chan)) {
printf(": failed to init channel\n");
return;
}
Home |
Main Index |
Thread Index |
Old Index