status = ARES_EOF;
break;
default:
+ DEBUGF(fprintf(stderr, "fopen() failed with error: %d %s\n",
+ errno, strerror(errno)));
DEBUGF(fprintf(stderr, "Error opening file: %s\n", PATH_RESOLV_CONF));
- DEBUGF(fprintf(stderr, "fopen() failed with error: %d\n", errno));
status = ARES_EFILE;
}
}
status = ARES_EOF;
break;
default:
+ DEBUGF(fprintf(stderr, "fopen() failed with error: %d %s\n",
+ errno, strerror(errno)));
DEBUGF(fprintf(stderr, "Error opening file: %s\n", "/etc/nsswitch.conf"));
- DEBUGF(fprintf(stderr, "fopen() failed with error: %d\n", errno));
status = ARES_EFILE;
}
}
status = ARES_EOF;
break;
default:
+ DEBUGF(fprintf(stderr, "fopen() failed with error: %d %s\n"
+ errno, strerror(errno)));
DEBUGF(fprintf(stderr, "Error opening file: %s\n", "/etc/host.conf"));
- DEBUGF(fprintf(stderr, "fopen() failed with error: %d\n", errno));
status = ARES_EFILE;
}
}
status = ARES_EOF;
break;
default:
+ DEBUGF(fprintf(stderr, "fopen() failed with error: %d %s\n",
+ errno, strerror(errno)));
DEBUGF(fprintf(stderr, "Error opening file: %s\n", "/etc/svc.conf"));
- DEBUGF(fprintf(stderr, "fopen() failed with error: %d\n", errno));
status = ARES_EFILE;
}
}