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-Url: http://git.maquefel.me/?a=commitdiff_plain;h=758f970f4204d17b4e14774d6eb2b8bdecda067e;p=linux.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 0d76790ffb0d8..ffdf1e8c305ca 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); }