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 two cases of reversed arguments to printf();
details: https://anonhg.NetBSD.org/src/rev/f27dc8923fc8
branches: trunk
changeset: 499818:f27dc8923fc8
user: pk <pk%NetBSD.org@localhost>
date: Thu Nov 30 09:58:03 2000 +0000
description:
Fix two cases of reversed arguments to printf();
diffstat:
sys/dev/ic/ncr53c9x.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (48 lines):
diff -r c207a0b2fbc1 -r f27dc8923fc8 sys/dev/ic/ncr53c9x.c
--- a/sys/dev/ic/ncr53c9x.c Thu Nov 30 08:33:33 2000 +0000
+++ b/sys/dev/ic/ncr53c9x.c Thu Nov 30 09:58:03 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ncr53c9x.c,v 1.54 2000/11/30 00:19:25 eeh Exp $ */
+/* $NetBSD: ncr53c9x.c,v 1.55 2000/11/30 09:58:03 pk Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -456,7 +456,8 @@
((sc->sc_cfflags & (1<<r)) ? T_RSELECTOFF : 0) |
T_NEED_TO_RESET;
#ifdef DEBUG
- if (ncr53c9x_notag) ti->flags |= T_TAGOFF;
+ if (ncr53c9x_notag)
+ ti->flags |= T_TAGOFF;
#endif
ti->period = sc->sc_minsync;
ti->offset = 0;
@@ -1609,16 +1610,16 @@
printf("%s: TAG reselect without IDENTIFY;"
" MSG %x;"
" sending DEVICE RESET\n",
- sc->sc_imess[0],
- sc->sc_dev.dv_xname);
+ sc->sc_dev.dv_xname,
+ sc->sc_imess[0]);
goto reset;
}
} else {
printf("%s: reselect without IDENTIFY;"
" MSG %x;"
" sending DEVICE RESET\n",
- sc->sc_imess[0],
- sc->sc_dev.dv_xname);
+ sc->sc_dev.dv_xname,
+ sc->sc_imess[0]);
goto reset;
}
@@ -1981,7 +1982,6 @@
sc->sc_espstep,
sc->sc_prevphase,
ecb?ecb->dleft:-1);
-Debugger();
}
}
}
Home |
Main Index |
Thread Index |
Old Index