summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2012-02-10 13:47:40 +0000
committered <ed@FreeBSD.org>2012-02-10 13:47:40 +0000
commita16a5a0207fb7f1c1fdeafe6fcb632e19d078fe0 (patch)
treebae707e4218de510cc40aaaea84447748978252c /lib
parenta03b3637dd2e41fcbd8ffad45cab4cb1cce4c40a (diff)
downloadFreeBSD-src-a16a5a0207fb7f1c1fdeafe6fcb632e19d078fe0.zip
FreeBSD-src-a16a5a0207fb7f1c1fdeafe6fcb632e19d078fe0.tar.gz
Unbreak build.
libprocstat still uses __si_namebuf.
Diffstat (limited to 'lib')
-rw-r--r--lib/libprocstat/common_kvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libprocstat/common_kvm.c b/lib/libprocstat/common_kvm.c
index 1ff181c..63302bc 100644
--- a/lib/libprocstat/common_kvm.c
+++ b/lib/libprocstat/common_kvm.c
@@ -80,7 +80,7 @@ kdevtoname(kvm_t *kd, struct cdev *dev, char *buf)
assert(buf);
if (!kvm_read_all(kd, (unsigned long)dev, &si, sizeof(si)))
return (1);
- strlcpy(buf, si.__si_namebuf, SPECNAMELEN + 1);
+ strlcpy(buf, si.si_name, SPECNAMELEN + 1);
return (0);
}
OpenPOWER on IntegriCloud