New task #5782 in : Error \"open of procfile failed\"

Flyspray - The bug killer! btsadmin at pld-linux.org
Mon Apr 17 12:31:17 CEST 2006


Project: PLD 2.x (Ac)

  Reported by: Marek Knappe (Qwerty256)
      Package: 
      Version: Bwm 0.4 and 0.5
      Summary: Error "open of procfile failed"
  
  versions with bug:
0.4* and 0.5* (includes CVS version)

I think its author bug, but there is a fix (for cvs version): 

-- cut here --
--- src/retrieve.c.org  2006-04-17 11:41:07.000000000 +0200
+++ src/retrieve.c      2006-04-17 11:41:18.000000000 +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);

-- cut here --



For more further see:
http://bugs.pld-linux.org/index.php?do=details&id=5782

------------------------------------------------------------------------
THIS IS AN AUTOMATICALLY GENERATED MESSAGE, DO NOT REPLY



More information about the pld-bugs mailing list