From 9f28da272d6317c5716c0634f482f6222111f036 Mon Sep 17 00:00:00 2001 From: rpaulo Date: Wed, 26 Apr 2006 17:18:41 +0000 Subject: [PATCH] Make 3rd argument of wtwait() const. --- sys/dev/isa/wt.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/isa/wt.c b/sys/dev/isa/wt.c index 5c99889c0690..7ab9aa9f367c 100644 --- a/sys/dev/isa/wt.c +++ b/sys/dev/isa/wt.c @@ -1,4 +1,4 @@ -/* $NetBSD: wt.c,v 1.69 2006/04/26 17:17:03 rpaulo Exp $ */ +/* $NetBSD: wt.c,v 1.70 2006/04/26 17:18:41 rpaulo Exp $ */ /* * Streamer tape driver. @@ -51,7 +51,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: wt.c,v 1.69 2006/04/26 17:17:03 rpaulo Exp $"); +__KERNEL_RCSID(0, "$NetBSD: wt.c,v 1.70 2006/04/26 17:18:41 rpaulo Exp $"); #include #include @@ -165,7 +165,7 @@ const struct cdevsw wt_cdevsw = { nostop, notty, nopoll, nommap, nokqfilter, D_TAPE }; -static int wtwait(struct wt_softc *sc, int catch, char *msg); +static int wtwait(struct wt_softc *sc, int catch, const char *msg); static int wtcmd(struct wt_softc *sc, int cmd); static int wtstart(struct wt_softc *sc, int flag, void *vaddr, size_t len); static void wtdma(struct wt_softc *sc); @@ -893,7 +893,7 @@ wtcmd(struct wt_softc *sc, int cmd) /* wait for the end of i/o, seeking marker or rewind operation */ static int -wtwait(struct wt_softc *sc, int catch, char *msg) +wtwait(struct wt_softc *sc, int catch, const char *msg) { int error;