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



details:   https://anonhg.NetBSD.org/src/rev/3956488895f5
branches:  netbsd-1-5
changeset: 489851:3956488895f5
user:      tv <tv%NetBSD.org@localhost>
date:      Wed Oct 18 00:15:53 2000 +0000

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

diffstat:

 lib/libkvm/kvm_sparc64.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 1154c12e095d -r 3956488895f5 lib/libkvm/kvm_sparc64.c
--- a/lib/libkvm/kvm_sparc64.c  Wed Oct 18 00:15:39 2000 +0000
+++ b/lib/libkvm/kvm_sparc64.c  Wed Oct 18 00:15:53 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kvm_sparc64.c,v 1.2.8.1 2000/08/07 01:22:27 mrg Exp $  */
+/*     $NetBSD: kvm_sparc64.c,v 1.2.8.2 2000/10/18 00:15:53 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_sparc64.c,v 1.2.8.1 2000/08/07 01:22:27 mrg Exp $");
+__RCSID("$NetBSD: kvm_sparc64.c,v 1.2.8.2 2000/10/18 00:15:53 tv Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -194,7 +194,7 @@
 
 lose:
        *pa = -1;
-       _kvm_err(kd, 0, "invalid address (%x)", va);
+       _kvm_err(kd, 0, "invalid address (%lx)", va);
        return (0);
 }
 
@@ -228,7 +228,7 @@
                off += mp->size;
        }
        if (nmem < 0) {
-               _kvm_err(kd, 0, "invalid address (%x)", pa);
+               _kvm_err(kd, 0, "invalid address (%lx)", pa);
                return (-1);
        }
 



Home | Main Index | Thread Index | Old Index