Date: Fri, 10 Feb 2012 13:47:41 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r231384 - head/lib/libprocstat Message-ID: <201202101347.q1ADlfi9077211@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ed Date: Fri Feb 10 13:47:40 2012 New Revision: 231384 URL: http://svn.freebsd.org/changeset/base/231384 Log: Unbreak build. libprocstat still uses __si_namebuf. Modified: head/lib/libprocstat/common_kvm.c Modified: head/lib/libprocstat/common_kvm.c ============================================================================== --- head/lib/libprocstat/common_kvm.c Fri Feb 10 13:40:32 2012 (r231383) +++ head/lib/libprocstat/common_kvm.c Fri Feb 10 13:47:40 2012 (r231384) @@ -80,7 +80,7 @@ kdevtoname(kvm_t *kd, struct cdev *dev, 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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202101347.q1ADlfi9077211>