From a5486b03399319390f67dd8c017074c61100bd8b Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Sat, 22 Oct 2005 01:13:39 +0000 Subject: [PATCH] acpi bug git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@354 7f574dfc-610e-0410-a909-a81674777703 --- ChangeLog | 3 +++ src/linux.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 16df3621..27cf63f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ # $Id$ +2005-10-21 + * acpi segfault should be fixed + 2005-10-17 * Ugly MPD mem leak fixed * Other mem leaks fixed diff --git a/src/linux.c b/src/linux.c index 2612d6ff..a6a5a597 100644 --- a/src/linux.c +++ b/src/linux.c @@ -910,7 +910,7 @@ passive: 73 C: tc1=4 tc2=3 tsp=40 devices=0xcdf6e6c0 int open_acpi_temperature(const char *name) { char path[256]; - char buf[64]; + char buf[256]; int fd; if (name == NULL || strcmp(name, "*") == 0) {