diff --git a/apps/manager_app/auth_card.c b/apps/manager_app/auth_card.c index e1cf29b2d..9b48da353 100644 --- a/apps/manager_app/auth_card.c +++ b/apps/manager_app/auth_card.c @@ -246,6 +246,7 @@ static bool prepare_card_auth_context(auth_card_data_t *auth_card_data) { } else { snprintf(auth_card_data->ctx.heading, sizeof(auth_card_data->ctx.heading), + "%s", ui_text_tap_a_card); } @@ -372,6 +373,7 @@ static bool handle_sign_challenge(auth_card_data_t *auth_card_data) { } else { snprintf(auth_card_data->ctx.message, sizeof(auth_card_data->ctx.message), + "%s", ui_text_processing); } @@ -445,7 +447,7 @@ static bool handle_auth_card_result_query(auth_card_data_t *auth_card_data) { uint32_t pairing_status = DEFAULT_VALUE_IN_FLASH; if (CARD_OPERATION_SUCCESS != card_pair_without_retap(card_number, &pairing_status)) { - LOG_ERROR("pairing error: %ld", pairing_status); + LOG_ERROR("pairing error: %d", pairing_status); manager_send_error(ERROR_COMMON_ERROR_CARD_ERROR_TAG, get_card_error_from_nfc_status(pairing_status)); if (SW_CONDITIONS_NOT_SATISFIED != pairing_status && diff --git a/src/settings/card_health_check.c b/src/settings/card_health_check.c index 04739c3fd..54280c024 100644 --- a/src/settings/card_health_check.c +++ b/src/settings/card_health_check.c @@ -192,8 +192,10 @@ void card_health_check(void) { char wallet_list[MAX_WALLETS_ALLOWED][NAME_SIZE] = {"", "", "", ""}; for (uint8_t i = 0; i < wallets_in_card.count; i++) { - snprintf( - wallet_list[i], NAME_SIZE, (char *)wallets_in_card.wallet[i].name); + snprintf(wallet_list[i], + NAME_SIZE, + "%s", + (char *)wallets_in_card.wallet[i].name); } list_init(wallet_list, wallets_in_card.count, display_msg, false); diff --git a/src/settings/view_device_info.c b/src/settings/view_device_info.c index b767fb50c..85d1410e5 100644 --- a/src/settings/view_device_info.c +++ b/src/settings/view_device_info.c @@ -147,6 +147,7 @@ void view_device_regulatory_information(void) { for (uint8_t slide = 0; slide < NUMBER_OF_SLIDES_REGULATORY_INFO; slide++) { snprintf(content[slide + 1].text, sizeof(content[slide + 1].text), + "%s", ui_text_regulatory_info[slide]); } @@ -155,4 +156,4 @@ void view_device_regulatory_information(void) { // Do not care about the return value from confirmation screen (void)get_state_on_confirm_scr(0, 0, 0); return; -} \ No newline at end of file +}