From: Tomasz Pala Date: Thu, 25 Dec 2008 15:08:11 +0000 (+0000) Subject: - updated to 0.6 X-Git-Tag: auto/th/bwm-ng-0_6-1~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fbwm-ng.git;a=commitdiff_plain;h=792ef8829520eb6dd584cf20a513464028eb9f92 - updated to 0.6 Changed files: bwm-ng-procfile.patch -> 1.2 --- diff --git a/bwm-ng-procfile.patch b/bwm-ng-procfile.patch index 1d9b8ac..eeff37f 100644 --- a/bwm-ng-procfile.patch +++ b/bwm-ng-procfile.patch @@ -1,11 +1,11 @@ ---- bwm-ng-0.5/src/retrieve.c~ 2005-02-19 07:47:12.000000000 +0100 -+++ bwm-ng-0.5/src/retrieve.c 2006-04-17 13:11:57.320895500 +0200 -@@ -140,7 +140,7 @@ +--- bwm-ng-0.6/src/input/proc_net_dev.c.orig 2007-02-28 03:06:26.000000000 +0100 ++++ bwm-ng-0.6/src/input/proc_net_dev.c 2008-12-25 16:02:57.000000000 +0100 +@@ -137,7 +137,7 @@ memset(&stats,0,(size_t)sizeof(t_iface_speed_stats)); /* init it */ - /* dont open proc_net_dev if netstat_i is requested, else try to open and if it fails fallback */ -- if (!(f=fopen(PROC_FILE,"r"))) { -+ if (!(f=fopen(PROC_NET_DEV,"r"))) { - deinit("open of procfile failed: %s\n",strerror(errno)); + /* dont open proc_net_dev if netstat_i is requested, else try to open and if it fails fallback */ +- if (!(f=fopen(PROC_FILE,"r"))) { ++ if (!(f=fopen(PROC_NET_DEV,"r"))) { + deinit(1, "open of procfile failed: %s\n",strerror(errno)); } buffer=(char *)malloc(MAX_LINE_BUFFER);