Fixed printf format errors.

This commit is contained in:
Bruce Evans 1998-08-23 10:16:26 +00:00
parent ae5a10cad0
commit 1fcee46997
8 changed files with 16 additions and 16 deletions

View File

@ -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

View File

@ -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

View File

@ -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);
}

View File

@ -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

View File

@ -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

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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