From 55e5418e6945ec3275d34e04047ad706f6eb8e68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigrid=20Solveig=20Hafl=C3=ADnud=C3=B3ttir?= Date: Mon, 8 Aug 2022 13:12:45 +0000 Subject: =?UTF-8?q?acpi:=20/mnt/acpi=20=E2=86=92=20/mnt/pm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sys/src/cmd/stats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/src/cmd/stats.c') diff --git a/sys/src/cmd/stats.c b/sys/src/cmd/stats.c index e62735dc0..355760a8e 100644 --- a/sys/src/cmd/stats.c +++ b/sys/src/cmd/stats.c @@ -622,7 +622,7 @@ initmach(Machine *m, char *name) snprint(buf, sizeof buf, "%s/mnt/apm/battery", mpt); m->batteryfd = open(buf, OREAD); if(m->batteryfd < 0){ - snprint(buf, sizeof buf, "%s/mnt/acpi/battery", mpt); + snprint(buf, sizeof buf, "%s/mnt/pm/battery", mpt); m->batteryfd = open(buf, OREAD); } m->bitsybatfd = -1; @@ -640,7 +640,7 @@ initmach(Machine *m, char *name) m->tempfd = open(buf, OREAD); if(m->tempfd < 0){ tempperiod = 5000; - snprint(buf, sizeof buf, "%s/mnt/acpi/cputemp", mpt); + snprint(buf, sizeof buf, "%s/mnt/pm/cputemp", mpt); m->tempfd = open(buf, OREAD); } if(loadbuf(m, &m->tempfd)) -- cgit v1.2.3