summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-03-20 06:55:24 +0000
committerderaadt <deraadt@openbsd.org>2013-03-20 06:55:24 +0000
commit8a99724bee3b4bad21d1504d16bcb3035855e316 (patch)
tree89bdcb57a88ed357a3d12493f218539359b72658
parentfix the return value of i2c_algo_dp_aux_exec, with this getting the (diff)
downloadwireguard-openbsd-8a99724bee3b4bad21d1504d16bcb3035855e316.tar.xz
wireguard-openbsd-8a99724bee3b4bad21d1504d16bcb3035855e316.zip
Do not expose a kernel address.
-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);