mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-13 11:15:27 +00:00
fix for bug 1359055?
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@424 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
abf909b812
commit
6443e60319
@ -154,8 +154,7 @@ inline void update_net_stats()
|
|||||||
|
|
||||||
/* open file and ignore first two lines */
|
/* open file and ignore first two lines */
|
||||||
if (net_dev_fp == NULL) {
|
if (net_dev_fp == NULL) {
|
||||||
// net_dev_fp = open_file("/proc/net/dev", &rep);
|
net_dev_fp = open_file("/proc/net/dev", &rep);
|
||||||
net_dev_fp = open_file("/home/brenden/fake", &rep);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
fseek(net_dev_fp, 0, SEEK_SET);
|
fseek(net_dev_fp, 0, SEEK_SET);
|
||||||
|
Loading…
Reference in New Issue
Block a user