From 811d3fae8a39686a1c66dfd61c897b7fd3fac2ac Mon Sep 17 00:00:00 2001 From: kenneth <459864689@qq.com> Date: Thu, 3 Jun 2021 20:39:33 +0800 Subject: [PATCH] fix: fix typo in comment The word wantted is misspelled and should be changed to wanted. And expected-size is better than wanted size. close https://gitee.com/openharmony/kernel_liteos_m/issues/I3RW6C Signed-off-by: kenneth <459864689@qq.com> --- kernel/include/los_queue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/include/los_queue.h b/kernel/include/los_queue.h index a0340863..c3aebc0d 100644 --- a/kernel/include/los_queue.h +++ b/kernel/include/los_queue.h @@ -402,7 +402,7 @@ extern UINT32 LOS_QueueCreate(CHAR *queueName, * [1,LOSCFG_BASE_IPC_QUEUE_LIMIT]. * @param bufferAddr [OUT] Starting address that stores the obtained data. The starting address must not be * null. - * @param bufferSize [IN/OUT] Where to maintain the buffer wantted-size before read, and the real-size after read. + * @param bufferSize [IN/OUT] Where to maintain the buffer expected-size before read, and the real-size after read. * @param timeOut [IN] Expiry time. The value range is [0,LOS_WAIT_FOREVER](unit: Tick). * * @retval #LOS_OK The queue is successfully read.