Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Sven 2018-10-02 15:16:05 -04:00
commit b6aec689fe

View File

@ -880,7 +880,7 @@ static void check_proc_acpi_ac_adapter(const char * node, bool *have_ac)
static void check_proc_acpi_sysfs_ac_adapter(const char * node, bool *have_ac)
{
char path[1024];
ssize_t length = 0;
int64_t length = 0;
char *buf = NULL;
const char *base = proc_acpi_sysfs_ac_adapter_path;