summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libkvm/kvm_file2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libkvm/kvm_file2.c b/lib/libkvm/kvm_file2.c
index 4a9aa7384bc..7c63a5abb3a 100644
--- a/lib/libkvm/kvm_file2.c
+++ b/lib/libkvm/kvm_file2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_file2.c,v 1.53 2018/01/02 06:38:45 guenther Exp $ */
+/* $OpenBSD: kvm_file2.c,v 1.54 2018/09/07 07:24:05 yasuoka Exp $ */
/*
* Copyright (c) 2009 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -209,7 +209,7 @@ kvm_deadfile_byfile(kvm_t *kd, int op, int arg, size_t esize, int *cnt)
int nfiles;
nl[0].n_name = "_filehead";
- nl[1].n_name = "_nfiles";
+ nl[1].n_name = "_numfiles";
nl[2].n_name = 0;
if (kvm_nlist(kd, nl) != 0) {
@@ -280,7 +280,7 @@ kvm_deadfile_byid(kvm_t *kd, int op, int arg, size_t esize, int *cnt)
int i, nfiles;
nl[0].n_name = "_filehead";
- nl[1].n_name = "_nfiles";
+ nl[1].n_name = "_numfiles";
nl[2].n_name = "_allprocess";
nl[3].n_name = 0;