diff options
author | bde <bde@FreeBSD.org> | 1998-08-23 10:16:26 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-08-23 10:16:26 +0000 |
commit | 1275a52cea911bb1052f091dacd6db2c27d851e2 (patch) | |
tree | 9dfebd0a7c3ffc9346fe8ceb2aec5e4b8fe358e6 /sys/i386 | |
parent | bb396c130c6b394fb683ab88586fce4d9473b6f4 (diff) | |
download | FreeBSD-src-1275a52cea911bb1052f091dacd6db2c27d851e2.zip FreeBSD-src-1275a52cea911bb1052f091dacd6db2c27d851e2.tar.gz |
Fixed printf format errors.
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/i386/pmap.c | 4 | ||||
-rw-r--r-- | sys/i386/i386/trap.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/sio.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index 02f60f4..9e3551b 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -39,7 +39,7 @@ * SUCH DAMAGE. * * from: @(#)pmap.c 7.7 (Berkeley) 5/12/91 - * $Id: pmap.c,v 1.205 1998/07/11 11:10:46 bde Exp $ + * $Id: pmap.c,v 1.206 1998/08/16 00:41:40 bde Exp $ */ /* @@ -1959,7 +1959,7 @@ pmap_remove_all(pa) * pages! */ if (!pmap_is_managed(pa)) { - panic("pmap_page_protect: illegal for unmanaged page, va: 0x%lx", pa); + panic("pmap_page_protect: illegal for unmanaged page, va: 0x%x", pa); } #endif diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c index 3325d32..c4935d0 100644 --- a/sys/i386/i386/trap.c +++ b/sys/i386/i386/trap.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)trap.c 7.4 (Berkeley) 5/13/91 - * $Id: trap.c,v 1.126 1998/04/15 17:45:07 bde Exp $ + * $Id: trap.c,v 1.127 1998/04/28 18:15:04 eivind Exp $ */ /* @@ -557,7 +557,7 @@ kernel_trap: uprintf("fatal process exception: %s", trap_msg[type]); if ((type == T_PAGEFLT) || (type == T_PROTFLT)) - uprintf(", fault VA = 0x%x", eva); + uprintf(", fault VA = 0x%lx", eva); uprintf("\n"); } #endif diff --git a/sys/i386/isa/sio.c b/sys/i386/isa/sio.c index ab21950..4602e54 100644 --- a/sys/i386/isa/sio.c +++ b/sys/i386/isa/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.212 1998/08/20 05:12:48 bde Exp $ + * $Id: sio.c,v 1.213 1998/08/23 08:26:40 bde Exp $ */ #include "opt_comconsole.h" @@ -2993,7 +2993,7 @@ siopnp_probe(u_long csn, u_long vend_id) struct pnp_cinfo d; read_pnp_parms(&d, 0); if (d.enable == 0 || d.flags & 1) { - printf("CSN %d is disabled.\n", csn); + printf("CSN %lu is disabled.\n", csn); return (NULL); } |