Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'networking/nameif.c')
-rw-r--r--networking/nameif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/nameif.c b/networking/nameif.c
index f60a97e8b..385e7fb71 100644
--- a/networking/nameif.c
+++ b/networking/nameif.c
@@ -91,7 +91,7 @@ int nameif_main(int argc, char **argv)
} else {
ifh = xfopen(fname, "r");
- while ((line = bb_get_line_from_file(ifh)) != NULL) {
+ while ((line = xmalloc_fgets(ifh)) != NULL) {
char *line_ptr;
size_t name_length;