cvs commit: src/sbin/sysctl sysctl.c

David Malone dwmalone at FreeBSD.org
Mon Jun 4 18:02:25 UTC 2007


dwmalone    2007-06-04 18:02:24 UTC

  FreeBSD src repository

  Modified files:
    sbin/sysctl          sysctl.c 
  Log:
  Use common code for printing ints and longs by coppying the sysctl
  value into a variable of the right type and then printing it via
  an intmax_t. This makes avoids some duplication and makes it easy
  to add a new integer format Q for printing things of type CTLTYPE_QUAD.
  
  Revision  Changes    Path
  1.82      +42 -42    src/sbin/sysctl/sysctl.c


More information about the cvs-all mailing list