Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/net/can fix format.
details: https://anonhg.NetBSD.org/src/rev/7d33b6761f12
branches: trunk
changeset: 353919:7d33b6761f12
user: christos <christos%NetBSD.org@localhost>
date: Sun May 28 14:49:00 2017 +0000
description:
fix format.
diffstat:
tests/net/can/t_can.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 7bb09c1c5945 -r 7d33b6761f12 tests/net/can/t_can.c
--- a/tests/net/can/t_can.c Sun May 28 14:16:05 2017 +0000
+++ b/tests/net/can/t_can.c Sun May 28 14:49:00 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_can.c,v 1.3 2017/05/28 09:35:01 martin Exp $ */
+/* $NetBSD: t_can.c,v 1.4 2017/05/28 14:49:00 christos Exp $ */
/*-
* Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: t_can.c,v 1.3 2017/05/28 09:35:01 martin Exp $");
+__RCSID("$NetBSD: t_can.c,v 1.4 2017/05/28 14:49:00 christos Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -686,8 +686,8 @@
ATF_CHECK_MSG(sa.can_family == AF_CAN,
"recvfrom provided wrong %d family", sa.can_family);
ATF_CHECK_MSG(salen == sizeof(sa),
- "recvfrom provided wrong size %u (!= %zu)",
- salen, sizeof(sa));
+ "recvfrom provided wrong size %ju (!= %zu)",
+ (uintmax_t)salen, sizeof(sa));
ATF_CHECK_MSG(sa.can_ifindex == ifindex,
"recvfrom provided wrong ifindex %d (!= %d)",
sa.can_ifindex, ifindex);
Home |
Main Index |
Thread Index |
Old Index