Source-Changes-HG archive

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

[src/trunk]: src/tests/net/mcast Use EXIT_FAILURE instead of 1



details:   https://anonhg.NetBSD.org/src/rev/057083ba585a
branches:  trunk
changeset: 808481:057083ba585a
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Tue May 19 03:19:27 2015 +0000

description:
Use EXIT_FAILURE instead of 1

diffstat:

 tests/net/mcast/t_mcast.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1411bf5b4ca2 -r 057083ba585a tests/net/mcast/t_mcast.c
--- a/tests/net/mcast/t_mcast.c Tue May 19 02:30:57 2015 +0000
+++ b/tests/net/mcast/t_mcast.c Tue May 19 03:19:27 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_mcast.c,v 1.13 2015/05/18 00:55:09 ozaki-r Exp $     */
+/*     $NetBSD: t_mcast.c,v 1.14 2015/05/19 03:19:27 ozaki-r Exp $     */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 #include <sys/cdefs.h>
 #ifdef __RCSID
-__RCSID("$NetBSD: t_mcast.c,v 1.13 2015/05/18 00:55:09 ozaki-r Exp $");
+__RCSID("$NetBSD: t_mcast.c,v 1.14 2015/05/19 03:19:27 ozaki-r Exp $");
 #else
 extern const char *__progname;
 #define getprogname() __progname
@@ -228,7 +228,7 @@
        }
        freeaddrinfo(ai0);
        if (s == -1)
-               ERRX(1, "%s (%s)", cause, strerror(lasterrno));
+               ERRX(EXIT_FAILURE, "%s (%s)", cause, strerror(lasterrno));
        return s;
 }
 



Home | Main Index | Thread Index | Old Index