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 an uninitialized variable in #ifdef DIAGNOSTIC.
details: https://anonhg.NetBSD.org/src/rev/9cc4c97612ac
branches: trunk
changeset: 510938:9cc4c97612ac
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Jun 09 12:59:50 2001 +0000
description:
Fix an uninitialized variable in #ifdef DIAGNOSTIC.
Pointed out by soda.
diffstat:
sys/dev/ic/osiop.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r 2e53342e487d -r 9cc4c97612ac sys/dev/ic/osiop.c
--- a/sys/dev/ic/osiop.c Sat Jun 09 12:22:11 2001 +0000
+++ b/sys/dev/ic/osiop.c Sat Jun 09 12:59:50 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: osiop.c,v 1.3 2001/05/17 10:35:30 scw Exp $ */
+/* $NetBSD: osiop.c,v 1.4 2001/06/09 12:59:50 tsutsui Exp $ */
/*
* Copyright (c) 2001 Izumi Tsutsui. All rights reserved.
@@ -607,8 +607,7 @@
#ifdef DIAGNOSTIC
if (acb == NULL || acb->xs == NULL) {
- printf("%s: NULL acb or scsipi_xfer in osiop_scsidone\n",
- sc->sc_dev.dv_xname);
+ printf("osiop_scsidone: NULL acb or scsipi_xfer\n");
#if defined(OSIOP_DEBUG) && defined(DDB)
Debugger();
#endif
Home |
Main Index |
Thread Index |
Old Index