summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ftp/http.c')
-rw-r--r--usr.bin/ftp/http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ftp/http.c b/usr.bin/ftp/http.c
index 36be1d9bdd1..69642d7a825 100644
--- a/usr.bin/ftp/http.c
+++ b/usr.bin/ftp/http.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: http.c,v 1.1 1996/09/03 18:00:06 deraadt Exp $ */
+/* $OpenBSD: http.c,v 1.2 1997/01/29 22:21:32 millert Exp $ */
/*
* Copyright (c) 1996 Theo de Raadt
@@ -104,7 +104,7 @@ http_fetch(url)
he = gethostbyname(hostname);
if (!he) {
- perror("gethostbyname");
+ herror("gethostbyname");
goto die;
}