Module Name:    src
Committed By:   phx
Date:           Fri Oct 16 10:07:16 UTC 2009

Modified Files:
        src/sys/arch/amiga/dev: zssc.c

Log Message:
Fixed typos in zssc_dump() (DEBUG).


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/amiga/dev/zssc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/amiga/dev/zssc.c
diff -u src/sys/arch/amiga/dev/zssc.c:1.42 src/sys/arch/amiga/dev/zssc.c:1.43
--- src/sys/arch/amiga/dev/zssc.c:1.42	Tue May 19 18:39:26 2009
+++ src/sys/arch/amiga/dev/zssc.c	Fri Oct 16 10:07:16 2009
@@ -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

Reply via email to