summaryrefslogtreecommitdiff
path: root/lib/libkvm/kvm_arm32.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-02-26 16:46:36 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-02-26 16:46:36 +0000
commit27ae0411e3e64c9ed2702ac388005137db53fb76 (patch)
treef3cd2c8ebec671bb1be57bb8576f0041d49e1ef0 /lib/libkvm/kvm_arm32.c
parentcb2eb095fa8af44f6bb3cc1179a3e781f2866c3b (diff)
Switch alpha from libkvm.old to libkvm with code from NetBSD.
%x -> %lx format fixes from me.
Diffstat (limited to 'lib/libkvm/kvm_arm32.c')
-rw-r--r--lib/libkvm/kvm_arm32.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libkvm/kvm_arm32.c b/lib/libkvm/kvm_arm32.c
index 37a7c19a174..ff2fe048f25 100644
--- a/lib/libkvm/kvm_arm32.c
+++ b/lib/libkvm/kvm_arm32.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_arm32.c,v 1.1 1996/05/05 14:56:52 deraadt Exp $ */
+/* $OpenBSD: kvm_arm32.c,v 1.2 1997/02/26 16:46:29 niklas Exp $ */
/* $NetBSD: kvm_arm32.c,v 1.2 1996/03/18 22:33:16 thorpej Exp $ */
/*
@@ -42,7 +42,7 @@
#if 0
static char sccsid[] = "@(#)kvm_hp300.c 8.1 (Berkeley) 6/4/93";
#else
-static char *rcsid = "$OpenBSD: kvm_arm32.c,v 1.1 1996/05/05 14:56:52 deraadt Exp $";
+static char *rcsid = "$OpenBSD: kvm_arm32.c,v 1.2 1997/02/26 16:46:29 niklas Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -151,7 +151,7 @@ _kvm_kvatop(kd, va, pa)
offset = va & PGOFSET;
invalid:
- _kvm_err(kd, 0, "invalid address (%x)", va);
+ _kvm_err(kd, 0, "invalid address (%lx)", va);
return (0);
}
@@ -201,6 +201,6 @@ _kvm_uvatop(kd, p, va, pa)
return (NBPG - offset);
invalid:
- _kvm_err(kd, 0, "invalid address (%x)", va);
+ _kvm_err(kd, 0, "invalid address (%lx)", va);
return (0);
}