summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2003-03-27 20:44:09 +0000
committerRobert Watson <rwatson@FreeBSD.org>2003-03-27 20:44:09 +0000
commit8cd56990480c7236dfdd7eb2f2954a2653686949 (patch)
tree54948b50604ac733c1dbc98de1948245003da6b3 /usr.sbin/pkg_install
parent8ee63f6eae00aee679303916e24b6ac15af709ef (diff)
downloadsrc-test2-8cd56990480c7236dfdd7eb2f2954a2653686949.tar.gz
src-test2-8cd56990480c7236dfdd7eb2f2954a2653686949.zip
Notes
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 5ee33f367477..f43e464c4d5c 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;