Fix wrong type cast for get_acpi_temperature() Set optreset to 1 before the second call to getopt() PR: ports/72642 Submitted by: maintainer