don't depend on the existance of warnx (use fprintf)

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5158 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1998-09-26 20:59:10 +00:00
parent 81e72296a7
commit bf2dd88284

View File

@@ -85,9 +85,9 @@ try_aix(void)
if(ptr == NULL) {
if(_kafs_debug) {
if(errno == ENOEXEC && (p = dlerror()) != NULL)
warnx("%s: %s", path, p);
fprintf(stderr, "dlopen(%s): %s\n", path, p);
else if (errno != ENOENT)
warn("%s", path);
fprintf(stderr, "dlopen(%s): %s\n", path, strerror(errno));
}
return 1;
}