Skip to contentSkip to conversation

Task: Kselftests: LKMP Bug Fixing Spring 2024

PATCH New Abhinav Jain 1 participant 1 message Feb 3, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/3 Task: Kselftests: LKMP Bug Fixing Spring 2024

Changed zero length string to a blank to fix the zero-length gnu-printf format string warnings

---
 tools/testing/selftests/seccomp/seccomp_benchmark.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
tools/testing/selftests/seccomp/seccomp_benchmark.c +3 -3
index 97b86980b768..bbd20280e7e2 100644
@@ -162,14 +162,14 @@ int main(int argc, char *argv[])
 	ksft_set_plan(7);
 
 	ksft_print_msg("Running on:\n");
-	ksft_print_msg("");
+	ksft_print_msg(" ");
 	system("uname -a");
 
 	ksft_print_msg("Current BPF sysctl settings:\n");
 	/* Avoid using "sysctl" which may not be installed. */
-	ksft_print_msg("");
+	ksft_print_msg(" ");
 	system("grep -H . /proc/sys/net/core/bpf_jit_enable");
-	ksft_print_msg("");
+	ksft_print_msg(" ");
 	system("grep -H . /proc/sys/net/core/bpf_jit_harden");
 
 	if (argc > 1)
Signature · 1 line
2.25.1