1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-18 02:55:12 +00:00

fixing warning

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1024 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Brenden Matthews 2008-03-21 23:17:37 +00:00
parent 2c478f5576
commit 14f23fb664

View File

@ -785,7 +785,7 @@ int open_sysfs_sensor(const char *dir, const char *dev, const char *type, int n,
if (divfd > 0) {
/* read integer */
char divbuf[64];
unsigned int divn;
int divn;
divn = read(divfd, divbuf, 63);
/* should read until n == 0 but I doubt that kernel will give these