summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sysctl.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-10-02 23:11:56 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-10-02 23:11:56 +0000
commit9a98e2536a0fcdd401f7cfac287bd6269a19e4ef (patch)
treed2566a031d6d3a6c1e73dd71a2b0072e5fa40be1 /sys/kern/kern_sysctl.c
parent4da7d55a1fc271a4e4295f16c2b6cac9b16c5efd (diff)
Add va_nlink information to struct kinfo_file (so bump the shlib minor)
from Sebastien Marie
Diffstat (limited to 'sys/kern/kern_sysctl.c')
-rw-r--r--sys/kern/kern_sysctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c
index c36988f0773..a3b9daf9b51 100644
--- a/sys/kern/kern_sysctl.c
+++ b/sys/kern/kern_sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sysctl.c,v 1.312 2016/09/25 15:23:37 deraadt Exp $ */
+/* $OpenBSD: kern_sysctl.c,v 1.313 2016/10/02 23:11:55 guenther Exp $ */
/* $NetBSD: kern_sysctl.c,v 1.17 1996/05/20 17:49:05 mrg Exp $ */
/*-
@@ -1065,6 +1065,7 @@ fill_file(struct kinfo_file *kf, struct file *fp, struct filedesc *fdp,
kf->va_size = va.va_size;
kf->va_rdev = va.va_rdev;
kf->va_fsid = va.va_fsid & 0xffffffff;
+ kf->va_nlink = va.va_nlink;
}
break;