summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-20 06:55:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-20 06:55:25 +0000
commitf5bcc3a91721ccfe21cad4ba24aa64e686a8a7fc (patch)
tree41a3251b139696341ac0e82538bf6c14328581de /usr.bin
parent562947cd76ae988d56079c1914d48775904e8ee2 (diff)
Do not expose a kernel address.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/systat/netstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/systat/netstat.c b/usr.bin/systat/netstat.c
index 3578b55bd81..5ad3ebd27ce 100644
--- a/usr.bin/systat/netstat.c
+++ b/usr.bin/systat/netstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netstat.c,v 1.35 2012/01/30 14:35:50 okan Exp $ */
+/* $OpenBSD: netstat.c,v 1.36 2013/03/20 06:55:24 deraadt Exp $ */
/* $NetBSD: netstat.c,v 1.3 1995/06/18 23:53:07 cgd Exp $ */
/*-
@@ -429,7 +429,7 @@ kvm_ckread(void *a, void *b, size_t l)
{
if (kvm_read(kd, (u_long)a, b, l) != l) {
if (verbose)
- error("error reading kmem at %x\n", a);
+ error("error reading kmem\n");
return (0);
} else
return (1);