diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-08-21 02:31:14 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-08-21 02:31:14 +0000 |
commit | 02ed6fe40681d10ed97e6c7ac25a9cf1547d241b (patch) | |
tree | 0a1f5ef699a787cc15bcb42351711503f4bc12be /sys/dev | |
parent | dbba383ee735a81ed3a3760473476ccf52772b76 (diff) |
Parameter being passed __func__ must be const char *. Allows aac to
compile with AAC_DEBUG set.
ok deraadt@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/aac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/aac.c b/sys/dev/ic/aac.c index 27b1b644ac9..33b142ac256 100644 --- a/sys/dev/ic/aac.c +++ b/sys/dev/ic/aac.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aac.c,v 1.21 2005/07/03 22:31:27 krw Exp $ */ +/* $OpenBSD: aac.c,v 1.22 2005/08/21 02:31:13 krw Exp $ */ /*- * Copyright (c) 2000 Michael Smith @@ -95,7 +95,7 @@ int aac_init(struct aac_softc *); int aac_internal_cache_cmd(struct scsi_xfer *); int aac_map_command(struct aac_ccb *); #ifdef AAC_DEBUG -void aac_print_fib(struct aac_softc *, struct aac_fib *, char *); +void aac_print_fib(struct aac_softc *, struct aac_fib *, const char *); #endif int aac_raw_scsi_cmd(struct scsi_xfer *); int aac_scsi_cmd(struct scsi_xfer *); @@ -1874,7 +1874,7 @@ out: * Print a FIB */ void -aac_print_fib(struct aac_softc *sc, struct aac_fib *fib, char *caller) +aac_print_fib(struct aac_softc *sc, struct aac_fib *fib, const char *caller) { printf("%s: FIB @ %p\n", caller, fib); printf(" XferState %b\n", fib->Header.XferState, "\20" |