1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-05 21:07:52 +00:00

fix buffer size in open_i2c_sensor (get_first_file_in_a_directory expects a 256 char buffer)

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@346 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Johannes Winkelmann 2005-10-15 16:20:25 +00:00
parent 58877464d3
commit ce4572300e

View File

@ -563,7 +563,7 @@ open_i2c_sensor(const char *dev, const char *type, int n, int *div,
char *devtype)
{
char path[256];
char buf[64];
char buf[256];
int fd;
int divfd;