Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2008 16:55:12 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libdevstat devstat.h
Message-ID:  <200801311655.m0VGtDpq074069@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <devstat.h> is needed as a
  prerequisite for using this interface.  However, the 'statinfo' struct
  actually references CPUSTATES from <sys/resource.h>, so in fact it
  requires <sys/resource.h> to compile.  Use a nested include of
  <sys/resource.h> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801311655.m0VGtDpq074069>