Update platform_unix.c
This commit is contained in:
parent
075a5eff5a
commit
64b2e6ea5f
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue