From: Zhangjin Wu Date: Wed, 24 May 2023 17:46:54 +0000 (+0800) Subject: selftests/nolibc: print name instead of number for EOVERFLOW X-Git-Tag: block-6.5-2023-07-03~46^2~16 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=758f970f4204d17b4e14774d6eb2b8bdecda067e;p=linux-block.git selftests/nolibc: print name instead of number for EOVERFLOW EOVERFLOW will be used in the coming time64 syscalls support. Signed-off-by: Zhangjin Wu Reviewed-by: Thomas Weißschuh Signed-off-by: Willy Tarreau Signed-off-by: Paul E. McKenney --- diff --git a/tools/testing/selftests/nolibc/nolibc-test.c b/tools/testing/selftests/nolibc/nolibc-test.c index 0d76790ffb0d..ffdf1e8c305c 100644 --- a/tools/testing/selftests/nolibc/nolibc-test.c +++ b/tools/testing/selftests/nolibc/nolibc-test.c @@ -107,6 +107,7 @@ const char *errorname(int err) CASE_ERR(EDOM); CASE_ERR(ERANGE); CASE_ERR(ENOSYS); + CASE_ERR(EOVERFLOW); default: return itoa(err); }