diff options
| author | Thomas Weißschuh <[email protected]> | 2025-07-04 13:43:13 +0000 |
|---|---|---|
| committer | Thomas Weißschuh <[email protected]> | 2025-07-06 09:02:40 +0000 |
| commit | 4a40129087a4c32135bb1177a57bbbe6ee646f1a (patch) | |
| tree | 5d33f393134161c99bca94f40b5205ee61b96fff /lib/crypto/mpi/mpi-cmp.c | |
| parent | selftests/nolibc: create /dev/full when running as PID 1 (diff) | |
| download | kernel-4a40129087a4c32135bb1177a57bbbe6ee646f1a.tar.gz kernel-4a40129087a4c32135bb1177a57bbbe6ee646f1a.zip | |
selftests/nolibc: correctly report errors from printf() and friends
When an error is encountered by printf() it needs to be reported.
errno() is already set by the callback.
sprintf() is different, but that keeps working and is already tested.
Also add a new test.
Fixes: 7e4346f4a3a6 ("tools/nolibc/stdio: add a minimal [vf]printf() implementation")
Signed-off-by: Thomas Weißschuh <[email protected]>
Acked-by: Willy Tarreau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
