diff options
author | Mark Brown <broonie@kernel.org> | 2021-09-29 17:19:22 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-09-29 17:33:04 +0200 |
commit | ff944c44b782d34dc95ea9dcf3a5b62a0bdbac18 (patch) | |
tree | 661fe29be8334eae4c2a49fab9fabf602b29fe51 /tools/testing/selftests/arm64 | |
parent | selftests: arm64: Move FPSIMD in SVE ptrace test into a function (diff) | |
download | linux-ff944c44b782d34dc95ea9dcf3a5b62a0bdbac18.tar.xz linux-ff944c44b782d34dc95ea9dcf3a5b62a0bdbac18.zip |
selftests: arm64: Fix printf() format mismatch in vec-syscfg
The format for this error message calls for the plain text version of the
error but we weren't supply it.
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210929151925.9601-2-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/testing/selftests/arm64')
-rw-r--r-- | tools/testing/selftests/arm64/fp/vec-syscfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/arm64/fp/vec-syscfg.c b/tools/testing/selftests/arm64/fp/vec-syscfg.c index c02071dcb563..b2de002ee325 100644 --- a/tools/testing/selftests/arm64/fp/vec-syscfg.c +++ b/tools/testing/selftests/arm64/fp/vec-syscfg.c @@ -109,7 +109,7 @@ static int get_child_rdvl(struct vec_data *data) /* exec() a new binary which puts the VL on stdout */ ret = execl(data->rdvl_binary, data->rdvl_binary, NULL); - fprintf(stderr, "execl(%s) failed: %d\n", + fprintf(stderr, "execl(%s) failed: %d (%s)\n", data->rdvl_binary, errno, strerror(errno)); exit(EXIT_FAILURE); |