aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhangjin Wu <[email protected]>2023-05-25 01:46:54 +0800
committerPaul E. McKenney <[email protected]>2023-06-09 11:46:09 -0700
commit758f970f4204d17b4e14774d6eb2b8bdecda067e (patch)
treed785ac663e4cfff4b4c7153c332df065250709d0
parent87b9fa66af9ad92097c0593626dea3654ec19fd0 (diff)
selftests/nolibc: print name instead of number for EOVERFLOW
EOVERFLOW will be used in the coming time64 syscalls support. Signed-off-by: Zhangjin Wu <[email protected]> Reviewed-by: Thomas Weißschuh <[email protected]> Signed-off-by: Willy Tarreau <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
-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);
}