Source-Changes-HG archive

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

[src/netbsd-8]: src/tests/net/icmp Additionally pull up the following revisio...



details:   https://anonhg.NetBSD.org/src/rev/7c645de447b9
branches:  netbsd-8
changeset: 851603:7c645de447b9
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Apr 10 06:54:37 2018 +0000

description:
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

diffstat:

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

diffs (27 lines):

diff -r b3836b5d5328 -r 7c645de447b9 tests/net/icmp/t_ping.c
--- a/tests/net/icmp/t_ping.c   Mon Apr 09 18:23:33 2018 +0000
+++ b/tests/net/icmp/t_ping.c   Tue Apr 10 06:54:37 2018 +0000
@@ -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 @@
                }
                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);



Home | Main Index | Thread Index | Old Index