Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2001 02:33:34 -0800 (PST)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/sysctl sysctl.c
Message-ID:  <200112301033.fBUAXYD48072@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         2001/12/30 02:33:34 PST

  Modified files:
    sbin/sysctl          sysctl.c 
  Log:
  Allow setting of variables of type dev_t by indicating the name of
  a special file on the command line, eg:
    sysctl kern.dumpdev=/dev/ad1s1b
  
  In parse(), when a value is given for a CTLTYPE_QUAD variable,
  newval and newsize erroneously fail to be set because of an early
  "break".
  
  show_var() contains code that duplicates the functionality of the
  oidfmt() function.
  
  PR:             33151, 33150
  Submitted by:   Thomas Quinot <thomas@cuivre.fr.eu.org>
  
  Revision  Changes    Path
  1.40      +34 -13    src/sbin/sysctl/sysctl.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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