1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 18:45:10 +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:
Roman Bogorodskiy 2007-08-21 18:40:08 +00:00
parent 64eb75d329
commit 3c0aaee4dc

View File

@ -852,7 +852,7 @@ char
int fd; int fd;
struct apm_info info; struct apm_info info;
out = (char *)calloc(16, sizeof (char)); (char *)out = (char *)calloc(16, sizeof (char));
fd = open(APMDEV, O_RDONLY); fd = open(APMDEV, O_RDONLY);
if (fd < 0) { if (fd < 0) {