diff options
author | loos <loos@FreeBSD.org> | 2014-06-27 18:58:22 +0000 |
---|---|---|
committer | loos <loos@FreeBSD.org> | 2014-06-27 18:58:22 +0000 |
commit | b63650e110bb06722e890fc98404a38cb5888340 (patch) | |
tree | 099474c527f63587c9ca92dc8477409f2659d8ad /bin/mv | |
parent | 534f953696e811ad5ed12ff0cea52668ff6ef85e (diff) | |
download | FreeBSD-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