Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/lib/libkvm Pullup 1.10 [he]:
details: https://anonhg.NetBSD.org/src/rev/915aa401ba51
branches: netbsd-1-5
changeset: 489849:915aa401ba51
user: tv <tv%NetBSD.org@localhost>
date: Wed Oct 18 00:15:17 2000 +0000
description:
Pullup 1.10 [he]:
Use %lx instead of %x with _kvm_err when arg is u_long.
diffstat:
lib/libkvm/kvm_m68k_cmn.c | 8 ++++----
lib/libkvm/kvm_sun3.c | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (62 lines):
diff -r 19a49e0f96c6 -r 915aa401ba51 lib/libkvm/kvm_m68k_cmn.c
--- a/lib/libkvm/kvm_m68k_cmn.c Wed Oct 18 00:11:13 2000 +0000
+++ b/lib/libkvm/kvm_m68k_cmn.c Wed Oct 18 00:15:17 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kvm_m68k_cmn.c,v 1.9 1999/07/02 15:28:50 simonb Exp $ */
+/* $NetBSD: kvm_m68k_cmn.c,v 1.9.8.1 2000/10/18 00:15:17 tv Exp $ */
/*-
* Copyright (c) 1997 Jason R. Thorpe. All rights reserved.
@@ -43,7 +43,7 @@
#if 0
static char sccsid[] = "@(#)kvm_hp300.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: kvm_m68k_cmn.c,v 1.9 1999/07/02 15:28:50 simonb Exp $");
+__RCSID("$NetBSD: kvm_m68k_cmn.c,v 1.9.8.1 2000/10/18 00:15:17 tv Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -222,7 +222,7 @@
return (h->page_size - offset);
invalid:
- _kvm_err(kd, 0, "invalid address (%x)", va);
+ _kvm_err(kd, 0, "invalid address (%lx)", va);
return (0);
}
@@ -307,6 +307,6 @@
return (h->page_size - offset);
invalid:
- _kvm_err(kd, 0, "invalid address (%x)", va);
+ _kvm_err(kd, 0, "invalid address (%lx)", va);
return (0);
}
diff -r 19a49e0f96c6 -r 915aa401ba51 lib/libkvm/kvm_sun3.c
--- a/lib/libkvm/kvm_sun3.c Wed Oct 18 00:11:13 2000 +0000
+++ b/lib/libkvm/kvm_sun3.c Wed Oct 18 00:15:17 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kvm_sun3.c,v 1.9 1999/07/02 15:28:51 simonb Exp $ */
+/* $NetBSD: kvm_sun3.c,v 1.9.8.1 2000/10/18 00:15:18 tv Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -42,7 +42,7 @@
#if 0
static char sccsid[] = "@(#)kvm_sparc.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: kvm_sun3.c,v 1.9 1999/07/02 15:28:51 simonb Exp $");
+__RCSID("$NetBSD: kvm_sun3.c,v 1.9.8.1 2000/10/18 00:15:18 tv Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -171,7 +171,7 @@
pte = pv->pmeg[sme][ptenum];
if ((pte & (s)->pg_valid) == 0) {
- _kvm_err(kd, 0, "page not valid (VA=0x%x)", va);
+ _kvm_err(kd, 0, "page not valid (VA=0x%lx)", va);
return (0);
}
pa = _kvm_pg_pa(v, s, pte) + offset;
Home |
Main Index |
Thread Index |
Old Index