diff options
author | dillon <dillon@FreeBSD.org> | 1999-01-27 23:45:44 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-01-27 23:45:44 +0000 |
commit | f9a4729a9b5e134850841ee06d85b97bf66e749b (patch) | |
tree | e09f1712b3a4b92e9e060d46fecff5e8f5243354 /sys/pci/intpm.c | |
parent | c590848cf5d691aba15e5a6579fb75c5fbefab93 (diff) | |
download | FreeBSD-src-f9a4729a9b5e134850841ee06d85b97bf66e749b.zip FreeBSD-src-f9a4729a9b5e134850841ee06d85b97bf66e749b.tar.gz |
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile.
This commit includes significant work to proper handle const arguments
for the DDB symbol routines.
Diffstat (limited to 'sys/pci/intpm.c')
-rw-r--r-- | sys/pci/intpm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/intpm.c b/sys/pci/intpm.c index b4f074b..3be56ae 100644 --- a/sys/pci/intpm.c +++ b/sys/pci/intpm.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: intpm.c,v 1.1 1999/01/24 18:13:31 nsouch Exp $ + * $Id: intpm.c,v 1.2 1999/01/27 18:36:49 dillon Exp $ */ #include "pci.h" @@ -308,7 +308,7 @@ static void intsmb_alrintr(device_t dev) volatile u_int8_t *addr; addr=bus_space_read_1(sc->st,sc->sh, PIIX4_SMBHSTDAT0); - printf("ALART_RESPONSE: %x\n",(int) addr); + printf("ALART_RESPONSE: %p\n",(int) addr); } }else{ printf("ERROR\n"); |