mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 15:19:26 -04:00
selftests/bpf: Add a missing newline to the "bad arch spec" message
Fix error messages like this one: parse_test_spec:FAIL:569 bad arch spec: 's390x'process_subtest:FAIL:1153 Can't parse test spec for program 'may_goto_simple' Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Link: https://lore.kernel.org/r/20250821113339.292434-3-iii@linux.ibm.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
This commit is contained in:
committed by
Alexei Starovoitov
parent
b8efa810c1
commit
b68dfcc12a
@@ -566,7 +566,7 @@ static int parse_test_spec(struct test_loader *tester,
|
||||
} else if (strcmp(val, "RISCV64") == 0) {
|
||||
arch = ARCH_RISCV64;
|
||||
} else {
|
||||
PRINT_FAIL("bad arch spec: '%s'", val);
|
||||
PRINT_FAIL("bad arch spec: '%s'\n", val);
|
||||
err = -EINVAL;
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user