mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3221
This commit is contained in:
parent
6d5b9ba584
commit
aeced6ade6
|
@ -121,7 +121,7 @@ bool HOST_INFO::host_is_running_on_batteries() {
|
|||
if (fapm) { // Then we're using APM! Yay.
|
||||
// Supposedly we're on batteries if the 5th entry is zero.
|
||||
//
|
||||
fscanf(f, "%10s %d.%d %x %x",
|
||||
fscanf(fapm, "%10s %d.%d %x %x",
|
||||
apm_driver_version,
|
||||
&apm_major_version,
|
||||
&apm_minor_version,
|
||||
|
|
Loading…
Reference in New Issue