From e69d425ca11a5afefc1a53fa5285cde8657bdc63 Mon Sep 17 00:00:00 2001 From: Kurihara Date: Wed, 29 Nov 2023 15:00:32 +0900 Subject: [PATCH] Fix - memset size --- threadmgr/threadmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/threadmgr/threadmgr.c b/threadmgr/threadmgr.c index 7bb2ea2..fc6ffdf 100644 --- a/threadmgr/threadmgr.c +++ b/threadmgr/threadmgr.c @@ -5413,7 +5413,7 @@ static void clear_external_control_info (external_control_info_t *p) p->pthread_id = pthread_self(); p->req_id = REQUEST_ID_BLANK; - memset (p->msg_entity.msg, 0x00, sizeof(MSG_SIZE)); + memset (p->msg_entity.msg, 0x00, MSG_SIZE); p->msg_entity.size = 0; clear_thm_src_info (&(p->thm_src_info));