From owner-cvs-src@FreeBSD.ORG Thu Jan 31 16:55:15 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC11416A46B; Thu, 31 Jan 2008 16:55:15 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 26B6113C442; Thu, 31 Jan 2008 16:55:13 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m0VGtDQF074073; Thu, 31 Jan 2008 16:55:13 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m0VGtDpq074069; Thu, 31 Jan 2008 16:55:13 GMT (envelope-from jhb) Message-Id: <200801311655.m0VGtDpq074069@repoman.freebsd.org> From: John Baldwin Date: Thu, 31 Jan 2008 16:55:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libdevstat devstat.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jan 2008 16:55:18 -0000 jhb 2008-01-31 16:55:12 UTC FreeBSD src repository Modified files: lib/libdevstat devstat.h Log: The devstat(3) manpage claims that only is needed as a prerequisite for using this interface. However, the 'statinfo' struct actually references CPUSTATES from , so in fact it requires to compile. Use a nested include of to make the code match the docs. Reported by: Pietro Cerutti gahr | gahr.ch Revision Changes Path 1.12 +1 -0 src/lib/libdevstat/devstat.h