Skip to content

Commit 64515cf

Browse files
taoyuhonglijinxia
authored andcommitted
Tools:acrn-manager Fix wrong descrition of mngr_send_msg()
There is a mistake on description for mngr_send_msg() in acrn_mngr.h We mistake the ack_len to req_len Acked-by: Eddie Dong <eddie.dong@intel.com> Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
1 parent b7ad705 commit 64515cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/acrn-manager/acrn_mngr.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,11 +271,11 @@ int mngr_add_handler(int desc, unsigned id,
271271
* @param desc: descripter created using mngr_open_un
272272
* @param req: pointer to message to send
273273
* @param ack: pointer to ack struct, NULL if no ack required
274-
* @param len: size in byte of the message to send
274+
* @param ack_len: size in byte of the expected ack message
275275
* @param timeout: time to wait for ack, zero to blocking waiting
276276
* @return len of ack messsage (0 if ack is NULL) on succes, errno on error
277277
*/
278278
int mngr_send_msg(int desc, struct mngr_msg *req, struct mngr_msg *ack,
279-
size_t len, unsigned timeout);
279+
size_t ack_len, unsigned timeout);
280280

281281
#endif /* ACRN_MANAGER_H */

0 commit comments

Comments
 (0)