mactable_t *ch;
if (1 & getopt32(argc, argv, "sc:", &fname)) {
- openlog(bb_applet_name, 0, LOG_LOCAL0);
+ openlog(applet_name, 0, LOG_LOCAL0);
logmode = LOGMODE_SYSLOG;
}
} 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;