From owner-svn-src-all@FreeBSD.ORG Fri Feb 10 13:47:41 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 941FE1065670; Fri, 10 Feb 2012 13:47:41 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7F4ED8FC12; Fri, 10 Feb 2012 13:47:41 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q1ADlfld077213; Fri, 10 Feb 2012 13:47:41 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q1ADlfi9077211; Fri, 10 Feb 2012 13:47:41 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201202101347.q1ADlfi9077211@svn.freebsd.org> From: Ed Schouten Date: Fri, 10 Feb 2012 13:47:41 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r231384 - head/lib/libprocstat X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2012 13:47:41 -0000 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); }