diff options
Diffstat (limited to 'networking/ifupdown.c')
-rw-r--r-- | networking/ifupdown.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index c1dc1d35d..00eb576f4 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c | |||
@@ -649,7 +649,7 @@ static struct interfaces_file_t *read_interfaces(const char *filename) | |||
649 | 649 | ||
650 | f = xfopen(filename, "r"); | 650 | f = xfopen(filename, "r"); |
651 | 651 | ||
652 | while ((buf = bb_get_chomped_line_from_file(f)) != NULL) { | 652 | while ((buf = xmalloc_getline(f)) != NULL) { |
653 | char *buf_ptr = buf; | 653 | char *buf_ptr = buf; |
654 | 654 | ||
655 | firstword = next_word(&buf_ptr); | 655 | firstword = next_word(&buf_ptr); |