We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f34c913 commit 0c051d0Copy full SHA for 0c051d0
subsys/mgmt/mcumgr/lib/cmd/img_mgmt/src/img_mgmt_util.c
@@ -16,7 +16,7 @@ img_mgmt_ver_str(const struct image_version *ver, char *dst)
16
int rc = 0;
17
int rc1 = 0;
18
19
- rc = snprintf(dst, IMG_MGMT_VER_MAX_STR_LEN, "%hhu.%hhu.%.hu",
+ rc = snprintf(dst, IMG_MGMT_VER_MAX_STR_LEN, "%hhu.%hhu.%hu",
20
ver->iv_major, ver->iv_minor, ver->iv_revision);
21
22
if (rc >= 0 && ver->iv_build_num != 0) {
0 commit comments