diff options
author | 2005-08-21 02:31:13 +0000 | |
---|---|---|
committer | 2005-08-21 02:31:13 +0000 | |
commit | d1453a630579e28e57cd91f9438fc3572ef69d21 (patch) | |
tree | 99a40de77959434853c12219ec689404aa24b41f | |
parent | The patch addresses a problem with high-load resolvers which (diff) | |
download | wireguard-openbsd-d1453a630579e28e57cd91f9438fc3572ef69d21.tar.xz wireguard-openbsd-d1453a630579e28e57cd91f9438fc3572ef69d21.zip |
Parameter being passed __func__ must be const char *. Allows aac to
compile with AAC_DEBUG set.
ok deraadt@
-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" |