Module Name:    src
Committed By:   nonaka
Date:           Thu Jun  2 12:51:52 UTC 2011

Modified Files:
        src/sys/dev/isa: ad1848_isa.c

Log Message:
fix compile failure.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/isa/ad1848_isa.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/dev/isa/ad1848_isa.c
diff -u src/sys/dev/isa/ad1848_isa.c:1.36 src/sys/dev/isa/ad1848_isa.c:1.37
--- src/sys/dev/isa/ad1848_isa.c:1.36	Mon Apr 28 20:23:51 2008
+++ src/sys/dev/isa/ad1848_isa.c	Thu Jun  2 12:51:52 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: ad1848_isa.c,v 1.36 2008/04/28 20:23:51 martin Exp $	*/
+/*	$NetBSD: ad1848_isa.c,v 1.37 2011/06/02 12:51:52 nonaka Exp $	*/
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -95,7 +95,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ad1848_isa.c,v 1.36 2008/04/28 20:23:51 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ad1848_isa.c,v 1.37 2011/06/02 12:51:52 nonaka Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -454,7 +454,7 @@
 		error = isa_dmamap_create(isc->sc_ic, isc->sc_playdrq,
 		    isc->sc_play_maxsize, BUS_DMA_NOWAIT|BUS_DMA_ALLOCNOW);
 		if (error) {
-			aprint_error_dev(&sc->sc_dev, "can't create map for drq %d\n",
+			aprint_error_dev(sc->sc_dev, "can't create map for drq %d\n",
 			    isc->sc_playdrq);
 			return;
 		}
@@ -465,7 +465,7 @@
 		error = isa_dmamap_create(isc->sc_ic, isc->sc_recdrq,
 		    isc->sc_rec_maxsize, BUS_DMA_NOWAIT|BUS_DMA_ALLOCNOW);
 		if (error) {
-			aprint_error_dev(&sc->sc_dev, "can't create map for drq %d\n",
+			aprint_error_dev(sc->sc_dev, "can't create map for drq %d\n",
 			    isc->sc_recdrq);
 			isa_dmamap_destroy(isc->sc_ic, isc->sc_playdrq);
 			return;

Reply via email to