diff options
| author | Bernard Xiong <[email protected]> | 2021-07-31 08:29:22 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-07-31 08:29:22 +0800 |
| commit | c3dab99463514b844099310e997d9d1cea0b8017 (patch) | |
| tree | b5e2532d6754225788a091c8777347b55fba0ccf /components/libc/pthreads/mqueue.c | |
| parent | 7de647c7263c227ba377bd477d969516840c7c6f (diff) | |
| parent | 2589d245325d95f0291e27886f93644d1f762f53 (diff) | |
Merge pull request #4880 from mysterywolf/tz
[libc][time] 修复若干问题
Diffstat (limited to 'components/libc/pthreads/mqueue.c')
| -rw-r--r-- | components/libc/pthreads/mqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/pthreads/mqueue.c b/components/libc/pthreads/mqueue.c index a59c7a445b..6840164a68 100644 --- a/components/libc/pthreads/mqueue.c +++ b/components/libc/pthreads/mqueue.c @@ -244,7 +244,7 @@ ssize_t mq_timedreceive(mqd_t mqdes, return -1; } - tick = clock_time_to_tick(abs_timeout); + tick = rt_timespec_to_tick(abs_timeout); result = rt_mq_recv(mqdes->mq, msg_ptr, msg_len, tick); if (result == RT_EOK) |
