Skip to content

Commit

Permalink
selftests: arm64: Fix printf() format mismatch in vec-syscfg
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown authored and Will Deacon committed Sep 29, 2021
1 parent 3478503 commit ff944c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/arm64/fp/vec-syscfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ff944c4

Please sign in to comment.