mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 10:01:41 +00:00
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>
This commit is contained in:
parent
87b9fa66af
commit
758f970f42
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user