summaryrefslogtreecommitdiff
path: root/components/libc/pthreads/mqueue.c
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-07-22 00:35:08 +0800
committerMeco Man <[email protected]>2021-07-22 01:08:30 +0800
commit62ff77d4932bb81f5acaf8092cbb97e68de2a9ba (patch)
tree8f02158688719040a66a7f0b7875626a42b55611 /components/libc/pthreads/mqueue.c
parent0f48449b5e326f4f66e443cbd1a0393ea00433e4 (diff)
[libc][time] 重命名非标准libc函数 并 调整time.h定义位置
Diffstat (limited to 'components/libc/pthreads/mqueue.c')
-rw-r--r--components/libc/pthreads/mqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/pthreads/mqueue.c b/components/libc/pthreads/mqueue.c
index 1af0ab2919..ce2ff43e23 100644
--- a/components/libc/pthreads/mqueue.c
+++ b/components/libc/pthreads/mqueue.c
@@ -243,7 +243,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)