Replace readdir_r with readdir
[platform/upstream/ltrace.git] / read_config_file.c
index 05ff283..e9c050d 100644 (file)
@@ -1140,7 +1140,7 @@ process_line(struct protolib *plib, struct locus *loc, char *buf)
                                        report_error(loc->filename,
                                                     loc->line_no,
                                                     "%s", strerror(errno));
-                                       return -1;
+                                       goto err;
                                }
                                have_stop = 1;
                        }