Module Name: src Committed By: christos Date: Sun May 28 14:53:13 UTC 2017
Modified Files: src/tests/net/can: t_can.c Log Message: undo previous; we don't have any archs where socklen_t != uint32_t. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/net/can/t_can.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/can/t_can.c diff -u src/tests/net/can/t_can.c:1.4 src/tests/net/can/t_can.c:1.5 --- src/tests/net/can/t_can.c:1.4 Sun May 28 10:49:00 2017 +++ src/tests/net/can/t_can.c Sun May 28 10:53:13 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: t_can.c,v 1.4 2017/05/28 14:49:00 christos Exp $ */ +/* $NetBSD: t_can.c,v 1.5 2017/05/28 14:53:13 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.4 2017/05/28 14:49:00 christos Exp $"); +__RCSID("$NetBSD: t_can.c,v 1.5 2017/05/28 14:53:13 christos Exp $"); #endif /* not lint */ #include <sys/types.h> @@ -686,8 +686,8 @@ ATF_TC_BODY(cannoloop, tc) 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 %ju (!= %zu)", - (uintmax_t)salen, sizeof(sa)); + "recvfrom provided wrong size %u (!= %zu)", + salen, sizeof(sa)); ATF_CHECK_MSG(sa.can_ifindex == ifindex, "recvfrom provided wrong ifindex %d (!= %d)", sa.can_ifindex, ifindex);