mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-25 12:10:03 +00:00
Fix a typo - variable was used before declarated and
the code was broken, though it was under #ifdef i386, so conky compiled fine on other arches. git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@924 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
64eb75d329
commit
3c0aaee4dc
@ -852,7 +852,7 @@ char
|
||||
int fd;
|
||||
struct apm_info info;
|
||||
|
||||
out = (char *)calloc(16, sizeof (char));
|
||||
(char *)out = (char *)calloc(16, sizeof (char));
|
||||
|
||||
fd = open(APMDEV, O_RDONLY);
|
||||
if (fd < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user