Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/lib/libkvm Pull up revision 1.6 (requested by he):



details:   https://anonhg.NetBSD.org/src/rev/2c44ea7fcfea
branches:  netbsd-1-4
changeset: 471191:2c44ea7fcfea
user:      he <he%NetBSD.org@localhost>
date:      Fri Oct 27 21:01:35 2000 +0000

description:
Pull up revision 1.6 (requested by he):
  Use %lx to format u_long parameter.

diffstat:

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

diffs (36 lines):

diff -r ba5a458b4296 -r 2c44ea7fcfea lib/libkvm/kvm_sparc64.c
--- a/lib/libkvm/kvm_sparc64.c  Fri Oct 27 21:01:16 2000 +0000
+++ b/lib/libkvm/kvm_sparc64.c  Fri Oct 27 21:01:35 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kvm_sparc64.c,v 1.1 1998/11/25 05:49:58 eeh Exp $      */
+/*     $NetBSD: kvm_sparc64.c,v 1.1.2.1 2000/10/27 21:01:35 he 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.1 1998/11/25 05:49:58 eeh Exp $");
+__RCSID("$NetBSD: kvm_sparc64.c,v 1.1.2.1 2000/10/27 21:01:35 he Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -154,7 +154,7 @@
        }
 #endif
 err:
-       _kvm_err(kd, 0, "invalid address (%x)", va);
+       _kvm_err(kd, 0, "invalid address (%lx)", va);
        return (0);
 }
 
@@ -188,7 +188,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