projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3478503
)
selftests: arm64: Fix printf() format mismatch in vec-syscfg
author
Mark Brown
<broonie@kernel.org>
Wed, 29 Sep 2021 15:19:22 +0000
(16:19 +0100)
committer
Will Deacon
<will@kernel.org>
Wed, 29 Sep 2021 15:33:04 +0000
(16:33 +0100)
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>
tools/testing/selftests/arm64/fp/vec-syscfg.c
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/arm64/fp/vec-syscfg.c
b/tools/testing/selftests/arm64/fp/vec-syscfg.c
index c02071dcb563b0a84ad4b4819b0eaf8e4cd031fd..b2de002ee3258ec905bfaff42ae6eea8590030c0 100644
(file)
--- 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);