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.7 [he]:



details:   https://anonhg.NetBSD.org/src/rev/17d4e39dc18c
branches:  netbsd-1-5
changeset: 489852:17d4e39dc18c
user:      tv <tv%NetBSD.org@localhost>
date:      Wed Oct 18 00:16:14 2000 +0000

description:
Pullup 1.7 [he]:
Use %lx instead of %x with _kvm_err when arg is u_long.

diffstat:

 lib/libkvm/kvm_sun3x.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3956488895f5 -r 17d4e39dc18c lib/libkvm/kvm_sun3x.c
--- a/lib/libkvm/kvm_sun3x.c    Wed Oct 18 00:15:53 2000 +0000
+++ b/lib/libkvm/kvm_sun3x.c    Wed Oct 18 00:16:14 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kvm_sun3x.c,v 1.6 1999/07/02 15:28:51 simonb Exp $     */
+/*     $NetBSD: kvm_sun3x.c,v 1.6.8.1 2000/10/18 00:16:14 tv Exp $     */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "@(#)kvm_sparc.c        8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: kvm_sun3x.c,v 1.6 1999/07/02 15:28:51 simonb Exp $");
+__RCSID("$NetBSD: kvm_sun3x.c,v 1.6.8.1 2000/10/18 00:16:14 tv Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -152,7 +152,7 @@
                return (0);
        }
        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);
        }
        offset = va & v->pgofset;



Home | Main Index | Thread Index | Old Index