Better error message on ftp open failures.
authorjbj <devnull@localhost>
Mon, 28 Jun 1999 21:26:57 +0000 (21:26 +0000)
committerjbj <devnull@localhost>
Mon, 28 Jun 1999 21:26:57 +0000 (21:26 +0000)
CVS patchset: 3111
CVS date: 1999/06/28 21:26:57

lib/query.c

index 5c15d83..0680f40 100644 (file)
@@ -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;