diff --git a/src/mgos_homekit_adk_rpc_service.c b/src/mgos_homekit_adk_rpc_service.c index 21f1c67..ff174ff 100644 --- a/src/mgos_homekit_adk_rpc_service.c +++ b/src/mgos_homekit_adk_rpc_service.c @@ -126,7 +126,7 @@ static void mgos_hap_setup_handler( cs_base64_encode(setupInfo.verifier, 384, verifier, NULL); } else if (code == NULL && (salt != NULL && verifier != NULL)) { if (!mgos_hap_setup_info_from_string(&setupInfo, salt, verifier)) { - mg_rpc_send_errorf(ri, 400, "invalid", "salt + verifier"); + mg_rpc_send_errorf(ri, 400, "invalid %s", "salt + verifier"); ri = NULL; goto out; }