diff options
author | Agney Lopes Roth Ferraz <agney@debian.org> | 2009-09-24 15:13:54 -0300 |
---|---|---|
committer | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:49 -0500 |
commit | 0bd39c5982a7776caae412f93f9dd2abf0b3eaea (patch) | |
tree | 0fdf3718ea01d3aa834e850c983c65edce14a583 /arch/linux/common/battery.h | |
parent | 1b6665085f47e0a86e4bebd5e313a2ab63600eb4 (diff) | |
parent | 7c47b5b9584f5011aeba18d7e1b26b3d3124825f (diff) |
Import Debian changes 0.5.1-1
hardinfo (0.5.1-1) unstable; urgency=low
* New upstream version. (Closes: #530290, #517591)
Diffstat (limited to 'arch/linux/common/battery.h')
-rw-r--r-- | arch/linux/common/battery.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/linux/common/battery.h b/arch/linux/common/battery.h index 7dfa5423..d378fdef 100644 --- a/arch/linux/common/battery.h +++ b/arch/linux/common/battery.h @@ -217,7 +217,7 @@ __scan_battery_apm(void) if ((procapm = fopen("/proc/apm", "r"))) { int old_percentage = percentage; - fscanf(procapm, "%s %s %s 0x%x %s %s %d%%", + (void)fscanf(procapm, "%s %s %s 0x%x %s %s %d%%", apm_drv_ver, apm_bios_ver, trash, &ac_bat, trash, trash, &percentage); fclose(procapm); |