Module Name: src
Committed By: ozaki-r
Date: Tue May 19 03:19:27 UTC 2015
Modified Files:
src/tests/net/mcast: t_mcast.c
Log Message:
Use EXIT_FAILURE instead of 1
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/tests/net/mcast/t_mcast.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/net/mcast/t_mcast.c
diff -u src/tests/net/mcast/t_mcast.c:1.13 src/tests/net/mcast/t_mcast.c:1.14
--- src/tests/net/mcast/t_mcast.c:1.13 Mon May 18 00:55:09 2015
+++ src/tests/net/mcast/t_mcast.c Tue May 19 03:19:27 2015
@@ -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 @@ out:
}
freeaddrinfo(ai0);
if (s == -1)
- ERRX(1, "%s (%s)", cause, strerror(lasterrno));
+ ERRX(EXIT_FAILURE, "%s (%s)", cause, strerror(lasterrno));
return s;
}