summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/main.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2009-02-21 20:07:49 +0000
committerderaadt <deraadt@openbsd.org>2009-02-21 20:07:49 +0000
commit61621065bff3dace5f4c250d17927c43d7aaf339 (patch)
treeaecd911955824eb3dc7565778ba3767bdb40408e /usr.bin/netstat/main.c
parentProperly convert dates between timezones before comparison. (diff)
downloadwireguard-openbsd-61621065bff3dace5f4c250d17927c43d7aaf339.tar.xz
wireguard-openbsd-61621065bff3dace5f4c250d17927c43d7aaf339.zip
we use kvm_openfiles() not kvm_open(); Amarendra Godbole
Diffstat (limited to 'usr.bin/netstat/main.c')
-rw-r--r--usr.bin/netstat/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c
index 434088a7aa0..936ded799ec 100644
--- a/usr.bin/netstat/main.c
+++ b/usr.bin/netstat/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.77 2009/01/27 13:49:21 claudio Exp $ */
+/* $OpenBSD: main.c,v 1.78 2009/02/21 20:07:49 deraadt Exp $ */
/* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */
/*
@@ -308,7 +308,7 @@ main(int argc, char *argv[])
if ((kvmd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY,
buf)) == NULL) {
- fprintf(stderr, "%s: kvm_open: %s\n", __progname, buf);
+ fprintf(stderr, "%s: kvm_openfiles: %s\n", __progname, buf);
exit(1);
}