From 030ad50bc2488929d5af2bfe082b693af002c52e Mon Sep 17 00:00:00 2001 From: Alexander D'abreu Date: Tue, 29 Mar 2022 14:19:52 +0000 Subject: [PATCH] Generalize print --- src/controller/CHIPDeviceController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/CHIPDeviceController.cpp b/src/controller/CHIPDeviceController.cpp index 76f1f7c989bce3..274e3c21439308 100644 --- a/src/controller/CHIPDeviceController.cpp +++ b/src/controller/CHIPDeviceController.cpp @@ -1721,7 +1721,7 @@ void DeviceCommissioner::PerformCommissioningStep(DeviceProxy * proxy, Commissio { actualCountryCodeSize = 2; memset(countryCodeStr, 58, actualCountryCodeSize); - ChipLogError(Controller, "Unable to find country code, defaulting to XX"); + ChipLogError(Controller, "Unable to find country code, defaulting to %s", countryCodeStr); } chip::CharSpan countryCode(countryCodeStr, actualCountryCodeSize);