]> git.pld-linux.org Git - packages/bwm-ng.git/commitdiff
- new
authorAdam Gołębiowski <adamg@pld-linux.org>
Mon, 17 Apr 2006 11:13:49 +0000 (11:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bwm-ng-procfile.patch -> 1.1

bwm-ng-procfile.patch [new file with mode: 0644]

diff --git a/bwm-ng-procfile.patch b/bwm-ng-procfile.patch
new file mode 100644 (file)
index 0000000..1d9b8ac
--- /dev/null
@@ -0,0 +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 @@
+       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));
+       }
+       buffer=(char *)malloc(MAX_LINE_BUFFER);
This page took 0.066098 seconds and 4 git commands to generate.