summaryrefslogtreecommitdiff
path: root/networking/dnsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/dnsd.c')
-rw-r--r--networking/dnsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/dnsd.c b/networking/dnsd.c
index 35f6c10..6f9dc5d 100644
--- a/networking/dnsd.c
+++ b/networking/dnsd.c
@@ -138,7 +138,7 @@ static int getfileentry(FILE * fp, struct dns_entry *s)
char *r, *name;
restart:
- r = bb_get_line_from_file(fp);
+ r = xmalloc_fgets(fp);
if (!r)
return -1;
while (*r == ' ' || *r == '\t') {