Skip to content

Commit ba14fc4

Browse files
Matthias Wauercarlescufi
authored andcommitted
mgmt: img_mgmt: fix typo in variable name
The correct variable name is 'action' Signed-off-by: Matthias Wauer <[email protected]>
1 parent fd87b39 commit ba14fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/mgmt/mcumgr/lib/cmd/img_mgmt/src/zephyr_img_mgmt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ img_mgmt_impl_upload_inspect(const struct img_mgmt_upload_req *req,
602602
}
603603

604604
if (fa->fa_off != hdr->ih_load_addr) {
605-
IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(aciton,
605+
IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(action,
606606
img_mgmt_err_str_image_bad_flash_addr);
607607
flash_area_close(fa);
608608
return MGMT_ERR_EINVAL;

0 commit comments

Comments
 (0)