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

cvs commit: src/sbin/sysctl Makefile sysctl.c

From: Chris Pressey <cpressey@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Jan 2005 12:27:51 -0800 (PST)

cpressey    2005/01/10 12:27:51 PST

DragonFly src repository

  Modified files:
    sbin/sysctl          Makefile sysctl.c 
  Raise WARNS to 6 and generally clean up:
  - Constify and use size_t instead of int;
  - Merge and add variables as appropriate;
  - Use more appropriate printf() format specifier, and replace
    printf() with fwrite() in one instance;
  - Replace name2oid() with sysctlnametomib().  Retain old error
    message when the sysctl's name cannot be resolved to a MIB.
  Based-on-coincident-patches-by: myself, and Peter Schuller
  Refined-with-input-from: joerg
  OK'ed-by: joerg
  Revision  Changes    Path
  1.3       +2 -1      src/sbin/sysctl/Makefile
  1.7       +45 -56    src/sbin/sysctl/sysctl.c


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