summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_glue.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-10-21 18:31:54 +0000
committered <ed@FreeBSD.org>2009-10-21 18:31:54 +0000
commit5598d561ce3ef08a3a8c5d518ca09e28883ff050 (patch)
tree23fe20d4924775ea060d4d15b5ab17ca153a0768 /sys/vm/vm_glue.c
parent5ac7c6cc4e2462cb819184a2e2efc3cc49d4b667 (diff)
downloadFreeBSD-src-5598d561ce3ef08a3a8c5d518ca09e28883ff050.zip
FreeBSD-src-5598d561ce3ef08a3a8c5d518ca09e28883ff050.tar.gz
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
Diffstat (limited to 'sys/vm/vm_glue.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud