]> git.pld-linux.org Git - packages/bwm-ng.git/blob - bwm-ng-procfile.patch
- release 4 (by relup.sh)
[packages/bwm-ng.git] / bwm-ng-procfile.patch
1 --- bwm-ng-0.6/src/input/proc_net_dev.c.orig    2007-02-28 03:06:26.000000000 +0100
2 +++ bwm-ng-0.6/src/input/proc_net_dev.c 2008-12-25 16:02:57.000000000 +0100
3 @@ -137,7 +137,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(1, "open of procfile failed: %s\n",strerror(errno));
10         }
11         buffer=(char *)malloc(MAX_LINE_BUFFER);
This page took 0.08375 seconds and 3 git commands to generate.