summaryrefslogtreecommitdiffstats
path: root/usr.bin/ncftp/ftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ncftp/ftp.c')
-rw-r--r--usr.bin/ncftp/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ncftp/ftp.c b/usr.bin/ncftp/ftp.c
index 71f7abe..fe35d1a 100644
--- a/usr.bin/ncftp/ftp.c
+++ b/usr.bin/ncftp/ftp.c
@@ -189,7 +189,7 @@ int hookup(char *host, unsigned int port)
continue;
}
}
- PERROR("hookup", "connect");
+ PERROR("hookup", host);
switch (errno) {
case ENETDOWN:
case ENETUNREACH:
OpenPOWER on IntegriCloud