From: jbj Date: Mon, 28 Jun 1999 21:26:57 +0000 (+0000) Subject: Better error message on ftp open failures. X-Git-Tag: rpm-4.4-release~2813 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=79ba901dfee62d4ef037b312974c12cfaa08858f;p=platform%2Fupstream%2Frpm.git Better error message on ftp open failures. CVS patchset: 3111 CVS date: 1999/06/28 21:26:57 --- diff --git a/lib/query.c b/lib/query.c index 5c15d83..0680f40 100644 --- a/lib/query.c +++ b/lib/query.c @@ -542,7 +542,7 @@ int rpmQueryVerify(QVA_t *qva, enum rpmQVSources source, const char * arg, fd = ufdOpen(arg, O_RDONLY, 0); if (fdFileno(fd) < 0) { - fprintf(stderr, _("open of %s failed\n"), arg); + fprintf(stderr, _("open of %s failed: %s\n"), arg,urlStrerror(arg)); ufdClose(fd); retcode = 1; break;