Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/net/net Nix trailing whitespace.
details: https://anonhg.NetBSD.org/src/rev/365f3bf15f3b
branches: trunk
changeset: 943199:365f3bf15f3b
user: riastradh <riastradh%NetBSD.org@localhost>
date: Fri Aug 28 14:18:29 2020 +0000
description:
Nix trailing whitespace.
diffstat:
tests/net/net/t_unix.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 2c2d55c2e0da -r 365f3bf15f3b tests/net/net/t_unix.c
--- a/tests/net/net/t_unix.c Fri Aug 28 14:07:51 2020 +0000
+++ b/tests/net/net/t_unix.c Fri Aug 28 14:18:29 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_unix.c,v 1.23 2020/08/28 13:56:29 christos Exp $ */
+/* $NetBSD: t_unix.c,v 1.24 2020/08/28 14:18:29 riastradh Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
#define _GNU_SOURCE
#include <sys/cdefs.h>
#ifdef __RCSID
-__RCSID("$Id: t_unix.c,v 1.23 2020/08/28 13:56:29 christos Exp $");
+__RCSID("$Id: t_unix.c,v 1.24 2020/08/28 14:18:29 riastradh Exp $");
#else
#define getprogname() argv[0]
#endif
@@ -208,7 +208,7 @@
}
}
fflush(stdout);
-
+
CHECK_EQUAL(euid, uid, s);
CHECK_EQUAL(egid, gid, s);
CHECK_EQUAL(pid, checkpid, s);
@@ -237,7 +237,7 @@
FAIL("socket(server)");
slen = len + OF + 1;
-
+
if ((sun = calloc(1, slen)) == NULL)
FAIL("calloc");
@@ -351,7 +351,7 @@
for (size_t i = 0; i < slen - OF; i++)
if (sock_addr->sun_path[i] != sun->sun_path[i])
FAIL("sock_addr.sun_path[%zu] %d != "
- "sun->sun_path[%zu] %d\n", i,
+ "sun->sun_path[%zu] %d\n", i,
sock_addr->sun_path[i], i,
sun->sun_path[i]);
Home |
Main Index |
Thread Index |
Old Index