diff --git a/sbin/iscontrol/config.c b/sbin/iscontrol/config.c index e8fd309071ee..639a702513e0 100644 --- a/sbin/iscontrol/config.c +++ b/sbin/iscontrol/config.c @@ -210,7 +210,7 @@ setOption(isc_opt_t *op, int which, void *rval) } static char * -getline(FILE *fd) +get_line(FILE *fd) { static char *sp, line[BUFSIZ]; char *lp, *p; @@ -248,7 +248,7 @@ getConfig(FILE *fd, char *key, char **Ar, int *nargs) else len = 0; state = 0; - while((lp = getline(fd)) != NULL) { + while((lp = get_line(fd)) != NULL) { for(; isspace((unsigned char)*lp); lp++) ; switch(state) {