]> git.pld-linux.org Git - packages/bwm-ng.git/blob - bwm-ng-procfile.patch
- new
[packages/bwm-ng.git] / bwm-ng-procfile.patch
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.074739 seconds and 3 git commands to generate.