From a502b0ee9263b4856e10d7abfc0f8a770e81d9d6 Mon Sep 17 00:00:00 2001 From: mycroft Date: Tue, 14 Sep 1999 22:49:14 +0000 Subject: [PATCH] warn()->warnx() in a couple of places. --- usr.bin/ftp/fetch.c | 6 +++--- usr.bin/ftp/ftp.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/usr.bin/ftp/fetch.c b/usr.bin/ftp/fetch.c index 018a95291b1a..088ceb9c0e5d 100644 --- a/usr.bin/ftp/fetch.c +++ b/usr.bin/ftp/fetch.c @@ -1,4 +1,4 @@ -/* $NetBSD: fetch.c,v 1.68 1999/08/31 22:05:22 christos Exp $ */ +/* $NetBSD: fetch.c,v 1.69 1999/09/14 22:49:14 mycroft Exp $ */ /*- * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ #include #ifndef lint -__RCSID("$NetBSD: fetch.c,v 1.68 1999/08/31 22:05:22 christos Exp $"); +__RCSID("$NetBSD: fetch.c,v 1.69 1999/09/14 22:49:14 mycroft Exp $"); #endif /* not lint */ /* @@ -702,7 +702,7 @@ fetch_url(url, proxyenv, proxyauth, wwwauth) hints.ai_protocol = 0; error = getaddrinfo(host, port, &hints, &res); if (error) { - warn(gai_strerror(error)); + warnx(gai_strerror(error)); goto cleanup_fetch_url; } diff --git a/usr.bin/ftp/ftp.c b/usr.bin/ftp/ftp.c index 39bbc1bc1b34..1b1037bc0908 100644 --- a/usr.bin/ftp/ftp.c +++ b/usr.bin/ftp/ftp.c @@ -1,4 +1,4 @@ -/* $NetBSD: ftp.c,v 1.60 1999/09/03 04:29:57 itojun Exp $ */ +/* $NetBSD: ftp.c,v 1.61 1999/09/14 22:49:14 mycroft Exp $ */ /* * Copyright (C) 1997 and 1998 WIDE Project. @@ -67,7 +67,7 @@ #if 0 static char sccsid[] = "@(#)ftp.c 8.6 (Berkeley) 10/27/94"; #else -__RCSID("$NetBSD: ftp.c,v 1.60 1999/09/03 04:29:57 itojun Exp $"); +__RCSID("$NetBSD: ftp.c,v 1.61 1999/09/14 22:49:14 mycroft Exp $"); #endif #endif /* not lint */ @@ -169,7 +169,7 @@ hookup(host, port) hints.ai_protocol = 0; error = getaddrinfo(host, port, &hints, &res0); if (error) { - warn(gai_strerror(error)); + warnx(gai_strerror(error)); code = -1; return (0); }