summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-08-23 10:16:26 +0000
committerbde <bde@FreeBSD.org>1998-08-23 10:16:26 +0000
commit1275a52cea911bb1052f091dacd6db2c27d851e2 (patch)
tree9dfebd0a7c3ffc9346fe8ceb2aec5e4b8fe358e6 /sys/amd64
parentbb396c130c6b394fb683ab88586fce4d9473b6f4 (diff)
downloadFreeBSD-src-1275a52cea911bb1052f091dacd6db2c27d851e2.zip
FreeBSD-src-1275a52cea911bb1052f091dacd6db2c27d851e2.tar.gz
Fixed printf format errors.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/pmap.c4
-rw-r--r--sys/amd64/amd64/trap.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 02f60f4..9e3551b 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/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/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
index 3325d32..c4935d0 100644
--- a/sys/amd64/amd64/trap.c
+++ b/sys/amd64/amd64/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
OpenPOWER on IntegriCloud