From bf2dd882843eabaa163c18723191dee62957f716 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Sat, 26 Sep 1998 20:59:10 +0000 Subject: [PATCH] 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 --- lib/kafs/afssys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/kafs/afssys.c b/lib/kafs/afssys.c index 660b82b22..059ce06b2 100644 --- a/lib/kafs/afssys.c +++ b/lib/kafs/afssys.c @@ -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; }