Module Name:    src
Committed By:   martin
Date:           Tue Apr 10 06:54:37 UTC 2018

Modified Files:
        src/tests/net/icmp [netbsd-8]: t_ping.c

Log Message:
Additionally pull up the following revision for ticket #724:

        tests/net/icmp/t_ping.c 1.21

Fix a printf(3)-like format in ATF ICMP t_ping.c


To generate a diff of this commit:
cvs rdiff -u -r1.17.6.1 -r1.17.6.2 src/tests/net/icmp/t_ping.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/icmp/t_ping.c
diff -u src/tests/net/icmp/t_ping.c:1.17.6.1 src/tests/net/icmp/t_ping.c:1.17.6.2
--- src/tests/net/icmp/t_ping.c:1.17.6.1	Mon Apr  9 13:34:10 2018
+++ src/tests/net/icmp/t_ping.c	Tue Apr 10 06:54:37 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_ping.c,v 1.17.6.1 2018/04/09 13:34:10 bouyer Exp $	*/
+/*	$NetBSD: t_ping.c,v 1.17.6.2 2018/04/10 06:54:37 martin Exp $	*/
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: t_ping.c,v 1.17.6.1 2018/04/09 13:34:10 bouyer Exp $");
+__RCSID("$NetBSD: t_ping.c,v 1.17.6.2 2018/04/10 06:54:37 martin Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -198,7 +198,7 @@ doping(const char *target, int loops, u_
 		}
 		if (n == -1 && (errno == EAGAIN || errno == ENOBUFS))
 			continue;
-		atf_tc_fail_errno("recv failed (n == %d)", n);
+		atf_tc_fail_errno("recv failed (n == %zd)", n);
 	}
 
 	rump_sys_close(s);

Reply via email to