From 6f755d6db148e306ad33a22315a01a7517244356 Mon Sep 17 00:00:00 2001 From: mjacob Date: Thu, 22 Mar 2007 23:38:32 +0000 Subject: MFP4: a) Some constification from NetBSD (gcc 4.1.2) b) Split default param fetching/setting into scsi and fibre functions and retry the fibre fetch more than once. MFC after: 1 week --- sys/dev/isp/isp_library.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/isp/isp_library.c') diff --git a/sys/dev/isp/isp_library.c b/sys/dev/isp/isp_library.c index 6275f25..98ec5d5f 100644 --- a/sys/dev/isp/isp_library.c +++ b/sys/dev/isp/isp_library.c @@ -150,7 +150,7 @@ isp_print_qentry(ispsoftc_t *isp, char *msg, int idx, void *arg) } void -isp_print_bytes(ispsoftc_t *isp, char *msg, int amt, void *arg) +isp_print_bytes(ispsoftc_t *isp, const char *msg, int amt, void *arg) { char buf[128]; uint8_t *ptr = arg; -- cgit v1.1