Source-Changes-HG archive

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

[src/trunk]: src/tests/net/net fix messages.



details:   https://anonhg.NetBSD.org/src/rev/8770411cfe51
branches:  trunk
changeset: 783729:8770411cfe51
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 06 02:22:50 2013 +0000

description:
fix messages.

diffstat:

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

diffs (24 lines):

diff -r b5408a2c7511 -r 8770411cfe51 tests/net/net/t_udp.c
--- a/tests/net/net/t_udp.c     Sun Jan 06 00:36:29 2013 +0000
+++ b/tests/net/net/t_udp.c     Sun Jan 06 02:22:50 2013 +0000
@@ -1,5 +1,5 @@
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_udp.c,v 1.1 2013/01/06 00:35:22 christos Exp $");
+__RCSID("$NetBSD: t_udp.c,v 1.2 2013/01/06 02:22:50 christos Exp $");
 
 #include <sys/socket.h>
 #include <netinet/in.h>
@@ -65,11 +65,11 @@
            strerror(errno));
 
        e = connect(s, res->ai_addr, res->ai_addrlen);
-       ATF_REQUIRE_MSG(e == 0, "connect(1) AF=%d: %s", family,
+       ATF_REQUIRE_MSG(e == 0, "connect(2) AF=%d: %s", family,
            strerror(errno));
 
        e = send(s, msg, sizeof(msg), 0);
-       ATF_REQUIRE_MSG(e == sizeof(msg), "send(1) AF=%d: %s", family,
+       ATF_REQUIRE_MSG(e == sizeof(msg), "send(2) AF=%d: %s", family,
            strerror(errno));
 
        close(s);



Home | Main Index | Thread Index | Old Index