timer/timer_getoverrun: adjust the default errno from ENOSYS to EINVAL
modify the default errno from ENOSYS to EINVAL can pass the ltp case: ltp_timer_getoverrun_speculative_6_1, ltp_timer_getoverrun_speculative_6_2, ltp_timer_getoverrun_speculative_6_3 Signed-off-by: guoshichao <guoshichao@xiaomi.com>
This commit is contained in:
parent
4ce205cf08
commit
e0ec88e738
@ -76,7 +76,7 @@
|
|||||||
int timer_getoverrun(timer_t timerid)
|
int timer_getoverrun(timer_t timerid)
|
||||||
{
|
{
|
||||||
UNUSED(timerid);
|
UNUSED(timerid);
|
||||||
set_errno(ENOSYS);
|
set_errno(EINVAL);
|
||||||
return ERROR;
|
return ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user