From d36008e70ce9dc856d448d314c2b1aa14611f599 Mon Sep 17 00:00:00 2001 From: brian Date: Tue, 30 Jun 2009 20:53:57 +0000 Subject: Don't imply that only FTP urls are supported when we can't fetch a package. Approved by: re (kib) MFC after: 3 weeks --- usr.sbin/pkg_install/lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/pkg_install') diff --git a/usr.sbin/pkg_install/lib/url.c b/usr.sbin/pkg_install/lib/url.c index 8121283..b598c60 100644 --- a/usr.sbin/pkg_install/lib/url.c +++ b/usr.sbin/pkg_install/lib/url.c @@ -106,7 +106,7 @@ fileGetURL(const char *base, const char *spec, int keep_package) fetchDebug = (Verbose > 0); if ((ftp = fetchGetURL(fname, Verbose ? "v" : NULL)) == NULL) { - printf("Error: FTP Unable to get %s: %s\n", + printf("Error: Unable to get %s: %s\n", fname, fetchLastErrString); return NULL; } -- cgit v1.1