diff --git a/src/linux.c b/src/linux.c index e8a265f4..87b09c9f 100644 --- a/src/linux.c +++ b/src/linux.c @@ -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;