projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5887746
)
fix buffer size in open_i2c_sensor (get_first_file_in_a_directory expects a 256 char...
author
Johannes Winkelmann
<jw@tks6.net>
Sat, 15 Oct 2005 16:20:25 +0000
(16:20 +0000)
committer
Johannes Winkelmann
<jw@tks6.net>
Sat, 15 Oct 2005 16:20:25 +0000
(16:20 +0000)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@346
7f574dfc
-610e-0410-a909-
a81674777703
src/linux.c
patch
|
blob
|
history
diff --git
a/src/linux.c
b/src/linux.c
index
e8a265f
..
87b09c9
100644
(file)
--- 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;