summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorZhangjin Wu <falcon@tinylab.org>2023-05-24 20:46:54 +0300
committerPaul E. McKenney <paulmck@kernel.org>2023-06-09 21:46:09 +0300
commit758f970f4204d17b4e14774d6eb2b8bdecda067e (patch)
treed785ac663e4cfff4b4c7153c332df065250709d0 /tools
parent87b9fa66af9ad92097c0593626dea3654ec19fd0 (diff)
downloadlinux-758f970f4204d17b4e14774d6eb2b8bdecda067e.tar.xz
selftests/nolibc: print name instead of number for EOVERFLOW
EOVERFLOW will be used in the coming time64 syscalls support. Signed-off-by: Zhangjin Wu <falcon@tinylab.org> Reviewed-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Willy Tarreau <w@1wt.eu> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/nolibc/nolibc-test.c1
1 files changed, 1 insertions, 0 deletions
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);
}