DragonFly BSD
DragonFly commits List (threaded) for 2004-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sbin/sysctl sysctl.c


From: Hiten Pandya <hmp@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 May 2004 07:59:35 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]