LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File net-tools-1.60-netrom-fopen.diff of Package net-tools (Project home:pwieczorkiewicz:branches:openSUSE:Leap:42.1:Update)

--- lib/netrom_gr.c	2009-10-07 12:26:35.000000000 +0200
+++ lib/netrom_gr.c	2009-10-07 12:28:15.000000000 +0200
@@ -32,8 +32,8 @@
 
 int NETROM_rprint(int options)
 {
-    FILE *f1 = fopen(_PATH_PROCNET_NR_NODES, "r");
-    FILE *f2 = fopen(_PATH_PROCNET_NR_NEIGH, "r");
+    FILE *f1 = NULL;
+    FILE *f2 = NULL;
     char buffer[256];
     int qual, n, w;
     /*int ext = options & FLAG_EXT;