summaryrefslogtreecommitdiff
path: root/regress/usr.sbin
diff options
context:
space:
mode:
authorAnton Lindqvist <anton@cvs.openbsd.org>2024-08-23 12:56:27 +0000
committerAnton Lindqvist <anton@cvs.openbsd.org>2024-08-23 12:56:27 +0000
commit88a374a4ea682237847f106063cfd5c9413a7e46 (patch)
tree8793341b9f79ef4707495e7425b4b56224e6cae4 /regress/usr.sbin
parent30c7e9e0cb0ce86c6623cbb6e19c62c01f7ee29b (diff)
Remove unwanted trailing newlines from err/warn format strings.
Diffstat (limited to 'regress/usr.sbin')
-rw-r--r--regress/usr.sbin/rpki-client/test-ip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.sbin/rpki-client/test-ip.c b/regress/usr.sbin/rpki-client/test-ip.c
index 57c526d1e25..b996af652fd 100644
--- a/regress/usr.sbin/rpki-client/test-ip.c
+++ b/regress/usr.sbin/rpki-client/test-ip.c
@@ -1,4 +1,4 @@
-/* $Id: test-ip.c,v 1.10 2024/04/22 05:54:01 claudio Exp $ */
+/* $Id: test-ip.c,v 1.11 2024/08/23 12:56:26 anton Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -59,7 +59,7 @@ test(const char *res, uint16_t afiv, size_t sz, size_t unused, ...)
addr.prefixlen = sz * 8 - unused;
ip_addr_print(&addr, afi, buf, sizeof(buf));
if (res != NULL && strcmp(res, buf))
- errx(EXIT_FAILURE, "fail: %s != %s\n", res, buf);
+ errx(EXIT_FAILURE, "fail: %s != %s", res, buf);
else if (res != NULL)
warnx("pass: %s", buf);
else