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>
This commit is contained in:
kenneth 2021-06-03 20:39:33 +08:00
parent 05937ee49c
commit 811d3fae8a
1 changed files with 1 additions and 1 deletions

View File

@ -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.