summaryrefslogtreecommitdiffstats
path: root/bin/mv
diff options
context:
space:
mode:
authorloos <loos@FreeBSD.org>2014-06-27 18:58:22 +0000
committerloos <loos@FreeBSD.org>2014-06-27 18:58:22 +0000
commitb63650e110bb06722e890fc98404a38cb5888340 (patch)
tree099474c527f63587c9ca92dc8477409f2659d8ad /bin/mv
parent534f953696e811ad5ed12ff0cea52668ff6ef85e (diff)
downloadFreeBSD-src-b63650e110bb06722e890fc98404a38cb5888340.zip
FreeBSD-src-b63650e110bb06722e890fc98404a38cb5888340.tar.gz
Simplify the code a little bit using the update_sensor_sysctl() routine to
retrieve the sensor temperature. This also avoid the overflow that could happen on sysctlnametomib(3) because the code was not checking the length of the mib array. CID: 1222504
Diffstat (limited to 'bin/mv')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud