Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/ftp warn()->warnx() in a couple of places.



details:   https://anonhg.NetBSD.org/src/rev/deff5e8b05ab
branches:  trunk
changeset: 476366:deff5e8b05ab
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Tue Sep 14 22:49:14 1999 +0000

description:
warn()->warnx() in a couple of places.

diffstat:

 usr.bin/ftp/fetch.c |  6 +++---
 usr.bin/ftp/ftp.c   |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r e6a02a28d043 -r deff5e8b05ab usr.bin/ftp/fetch.c
--- a/usr.bin/ftp/fetch.c       Tue Sep 14 22:25:48 1999 +0000
+++ b/usr.bin/ftp/fetch.c       Tue Sep 14 22:49:14 1999 +0000
@@ -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 <sys/cdefs.h>
 #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 @@
                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 -r e6a02a28d043 -r deff5e8b05ab usr.bin/ftp/ftp.c
--- a/usr.bin/ftp/ftp.c Tue Sep 14 22:25:48 1999 +0000
+++ b/usr.bin/ftp/ftp.c Tue Sep 14 22:49:14 1999 +0000
@@ -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 @@
        hints.ai_protocol = 0;
        error = getaddrinfo(host, port, &hints, &res0);
        if (error) {
-               warn(gai_strerror(error));
+               warnx(gai_strerror(error));
                code = -1;
                return (0);
        }



Home | Main Index | Thread Index | Old Index