Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/usr.bin/systat Pull up revision 1.8 (requested by he):
details: https://anonhg.NetBSD.org/src/rev/1d391743d485
branches: netbsd-1-4
changeset: 471149:1d391743d485
user: he <he%NetBSD.org@localhost>
date: Thu Oct 19 18:23:01 2000 +0000
description:
Pull up revision 1.8 (requested by he):
Fix pointer/format problem, cast to u_long, print with %lx.
diffstat:
usr.bin/systat/fetch.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 3480c9fa84da -r 1d391743d485 usr.bin/systat/fetch.c
--- a/usr.bin/systat/fetch.c Thu Oct 19 18:08:01 2000 +0000
+++ b/usr.bin/systat/fetch.c Thu Oct 19 18:23:01 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fetch.c,v 1.4.2.1 1999/09/26 13:35:57 he Exp $ */
+/* $NetBSD: fetch.c,v 1.4.2.2 2000/10/19 18:23:01 he Exp $ */
/*-
* Copyright (c) 1980, 1992, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)fetch.c 8.1 (Berkeley) 6/6/93";
#endif
-__RCSID("$NetBSD: fetch.c,v 1.4.2.1 1999/09/26 13:35:57 he Exp $");
+__RCSID("$NetBSD: fetch.c,v 1.4.2.2 2000/10/19 18:23:01 he Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -52,7 +52,8 @@
{
if (kvm_read(kd, (u_long)a, b, l) != l) {
if (verbose)
- error("error reading kmem at %x\n", a);
+ error("error reading kmem at %lx\n",
+ (u_long) a);
return (0);
} else
return (1);
Home |
Main Index |
Thread Index |
Old Index