freebsd-dev/sbin/sysctl
Ed Schouten a7b5ad271c Make input parsing in Farhenheit actually work.
Don't clobber *p with '\0' when testing whether it has the value of 'F'.
Just use the semantics of strtof() properly. If it returns p, we know
that it parsed the string until it reached 'C' or 'F'.

The code has not changed since it has been imported (r161951, Sep 3,
2006).

Submitted by:	Alexandre Perrin <kaworu@kaworu.ch>
MFC after:	1 week
2009-10-21 18:31:54 +00:00
..
Makefile style.Makefile(5): 2004-02-23 20:25:27 +00:00
sysctl.8 Remove mentionings of kern.dumpdev which is no longer available. 2007-11-28 14:48:30 +00:00
sysctl.c Make input parsing in Farhenheit actually work. 2009-10-21 18:31:54 +00:00