summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/lib/url.c b/usr.sbin/pkg_install/lib/url.c
index 5ee33f3..f43e464 100644
--- a/usr.sbin/pkg_install/lib/url.c
+++ b/usr.sbin/pkg_install/lib/url.c
@@ -89,7 +89,7 @@ fileGetURL(const char *base, const char *spec)
else
strcpy(fname, spec);
- if ((ftp = fetchGetURL(fname, Verbose ? "v" : NULL)) == NULL) {
+ if ((ftp = fetchGetURL(fname, Verbose ? "v" : "")) == NULL) {
printf("Error: FTP Unable to get %s: %s\n",
fname, fetchLastErrString);
return NULL;
OpenPOWER on IntegriCloud