Skip to content

Commit 0c051d0

Browse files
de-nordiccarlescufi
authored andcommitted
mgmt/mcumgr/lib: Fix astray dot in image version
Removed the dot. Signed-off-by: Dominik Ermel <[email protected]>
1 parent f34c913 commit 0c051d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ img_mgmt_ver_str(const struct image_version *ver, char *dst)
1616
int rc = 0;
1717
int rc1 = 0;
1818

19-
rc = snprintf(dst, IMG_MGMT_VER_MAX_STR_LEN, "%hhu.%hhu.%.hu",
19+
rc = snprintf(dst, IMG_MGMT_VER_MAX_STR_LEN, "%hhu.%hhu.%hu",
2020
ver->iv_major, ver->iv_minor, ver->iv_revision);
2121

2222
if (rc >= 0 && ver->iv_build_num != 0) {

0 commit comments

Comments
 (0)