cvs commit: src/sbin/sysctl sysctl.c

Hiten Pandya hmp at crater.dragonflybsd.org
Mon May 31 08:11:33 PDT 2004


hmp         2004/05/31 07:59:34 PDT

DragonFly src repository

  Modified files:
    sbin/sysctl          sysctl.c 
  Log:
  Do not use the display function if the -o (opaque) or -x (hexdump)
  arguments were provided to sysctl(8).
  
  The display function is used when a sysctl node is registered as
  `special' in sysctl(8), so instead of showing the normal "var:val"
  output, it would format the values instead.  E.g. vm.loadavg.
  
  Revision  Changes    Path
  1.5       +17 -15    src/sbin/sysctl/sysctl.c


http://www.dragonflybsd.org/cvsweb/src/sbin/sysctl/sysctl.c.diff?r1=1.4&r2=1.5&f=h





More information about the Commits mailing list