Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amiga/dev Fixed typos in zssc_dump() (DEBUG).
details: https://anonhg.NetBSD.org/src/rev/bd7e3d7e5773
branches: trunk
changeset: 748205:bd7e3d7e5773
user: phx <phx%NetBSD.org@localhost>
date: Fri Oct 16 10:07:16 2009 +0000
description:
Fixed typos in zssc_dump() (DEBUG).
diffstat:
sys/arch/amiga/dev/zssc.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 7b04658e889c -r bd7e3d7e5773 sys/arch/amiga/dev/zssc.c
--- a/sys/arch/amiga/dev/zssc.c Fri Oct 16 09:36:35 2009 +0000
+++ b/sys/arch/amiga/dev/zssc.c Fri Oct 16 10:07:16 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: zssc.c,v 1.42 2009/05/19 18:39:26 phx Exp $ */
+/* $NetBSD: zssc.c,v 1.43 2009/10/16 10:07:16 phx Exp $ */
/*
* Copyright (c) 1982, 1990 The Regents of the University of California.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: zssc.c,v 1.42 2009/05/19 18:39:26 phx Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zssc.c,v 1.43 2009/10/16 10:07:16 phx Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -201,9 +201,10 @@
struct siop_softc *sc;
int i;
- for (i = 0; i < zssc_cd.cd_ndevs; ++i)
- sc = device_lookup_softc(&zssc_cd, i);
+ for (i = 0; i < zssc_cd.cd_ndevs; ++i) {
+ sc = device_lookup_private(&zssc_cd, i);
if (sc != NULL)
siop_dump(sc);
+ }
}
#endif
Home |
Main Index |
Thread Index |
Old Index