Source-Changes-HG archive

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

src: Additionally pull up the following revision for ticket #724:



details:   https://anonhg.NetBSD.org/src/rev/0eb236d3aff4
branches:  netbsd-8
changeset: 318005:0eb236d3aff4
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 0cdc1708fe4f -r 0eb236d3aff4 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