Skip to content

Commit

Permalink
Fix - memset size
Browse files Browse the repository at this point in the history
  • Loading branch information
ysan committed Nov 29, 2023
1 parent df3cff2 commit e69d425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion threadmgr/threadmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit e69d425

Please sign in to comment.