]> git.pld-linux.org Git - packages/bwm-ng.git/blame - bwm-ng-procfile.patch
- release 2 (rebuild against libstatgrab-0.13)
[packages/bwm-ng.git] / bwm-ng-procfile.patch
CommitLineData
a3b5107c
AG
1--- bwm-ng-0.5/src/retrieve.c~ 2005-02-19 07:47:12.000000000 +0100
2+++ bwm-ng-0.5/src/retrieve.c 2006-04-17 13:11:57.320895500 +0200
3@@ -140,7 +140,7 @@
4
5 memset(&stats,0,(size_t)sizeof(t_iface_speed_stats)); /* init it */
6 /* dont open proc_net_dev if netstat_i is requested, else try to open and if it fails fallback */
7- if (!(f=fopen(PROC_FILE,"r"))) {
8+ if (!(f=fopen(PROC_NET_DEV,"r"))) {
9 deinit("open of procfile failed: %s\n",strerror(errno));
10 }
11 buffer=(char *)malloc(MAX_LINE_BUFFER);
This page took 0.048898 seconds and 4 git commands to generate.