Module Name:    src
Committed By:   christos
Date:           Sun Jan  6 02:22:50 UTC 2013

Modified Files:
        src/tests/net/net: t_udp.c

Log Message:
fix messages.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/net/net/t_udp.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/net/t_udp.c
diff -u src/tests/net/net/t_udp.c:1.1 src/tests/net/net/t_udp.c:1.2
--- src/tests/net/net/t_udp.c:1.1	Sat Jan  5 19:35:22 2013
+++ src/tests/net/net/t_udp.c	Sat Jan  5 21:22:50 2013
@@ -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 @@ sendit(int family)
 	    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);

Reply via email to