From: david.laight.linux@gmail•com
To: "Jason A. Donenfeld" <Jason@zx2c4•com>,
Shuah Khan <shuah@kernel•org>,
wireguard@lists•zx2c4.com, netdev@vger•kernel.org,
linux-kselftest@vger•kernel.org, linux-kernel@vger•kernel.org
Cc: David Laight <david.laight.linux@gmail•com>,
Masami Hiramatsu <mhiramat@kernel•org>,
Petr Mladek <pmladek@suse•com>,
Rasmus Villemoes <linux@rasmusvillemoes•dk>,
Andy Shevchenko <andriy.shevchenko@linux•intel.com>,
Steven Rostedt <rostedt@goodmis•org>,
Sergey Senozhatsky <senozhatsky@chromium•org>,
Andrew Morton <akpm@linux-foundation•org>
Subject: [PATCH next] wireguard: selftests: Remove spurious precision from banner printf
Date: Thu, 26 Mar 2026 20:18:36 +0000 [thread overview]
Message-ID: <20260326201836.3957-1-david.laight.linux@gmail.com> (raw)
From: David Laight <david.laight.linux@gmail•com>
Change ("%*.s", len, "") to ("%*s", len, "").
The former is equivalent to "%*.0s" but is really a typing mistake.
No actual change to the output.
Signed-off-by: David Laight <david.laight.linux@gmail•com>
---
tools/testing/selftests/wireguard/qemu/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/wireguard/qemu/init.c b/tools/testing/selftests/wireguard/qemu/init.c
index 3e49924dd77e..c87570494d30 100644
--- a/tools/testing/selftests/wireguard/qemu/init.c
+++ b/tools/testing/selftests/wireguard/qemu/init.c
@@ -53,7 +53,7 @@ static void print_banner(void)
panic("uname");
len = strlen(" WireGuard Test Suite on ") + strlen(utsname.sysname) + strlen(utsname.release) + strlen(utsname.machine);
- printf("\x1b[45m\x1b[33m\x1b[1m%*.s\x1b[0m\n\x1b[45m\x1b[33m\x1b[1m WireGuard Test Suite on %s %s %s \x1b[0m\n\x1b[45m\x1b[33m\x1b[1m%*.s\x1b[0m\n\n", len, "", utsname.sysname, utsname.release, utsname.machine, len, "");
+ printf("\x1b[45m\x1b[33m\x1b[1m%*s\x1b[0m\n\x1b[45m\x1b[33m\x1b[1m WireGuard Test Suite on %s %s %s \x1b[0m\n\x1b[45m\x1b[33m\x1b[1m%*s\x1b[0m\n\n", len, "", utsname.sysname, utsname.release, utsname.machine, len, "");
}
static void seed_rng(void)
--
2.39.5
reply other threads:[~2026-03-26 20:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260326201836.3957-1-david.laight.linux@gmail.com \
--to=david.laight.linux@gmail$(echo .)com \
--cc=Jason@zx2c4$(echo .)com \
--cc=akpm@linux-foundation$(echo .)org \
--cc=andriy.shevchenko@linux$(echo .)intel.com \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-kselftest@vger$(echo .)kernel.org \
--cc=linux@rasmusvillemoes$(echo .)dk \
--cc=mhiramat@kernel$(echo .)org \
--cc=netdev@vger$(echo .)kernel.org \
--cc=pmladek@suse$(echo .)com \
--cc=rostedt@goodmis$(echo .)org \
--cc=senozhatsky@chromium$(echo .)org \
--cc=shuah@kernel$(echo .)org \
--cc=wireguard@lists$(echo .)zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox