Global: silence compiler warnings

This commit is contained in:
李通洲
2023-09-13 22:46:11 +08:00
parent 013abe2b3e
commit 61131073f2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ void ffPrintPublicIp(FFPublicIpOptions* options)
if (error)
{
ffPrintError(FF_PUBLICIP_DISPLAY_NAME, 0, &options->moduleArgs, error);
ffPrintError(FF_PUBLICIP_DISPLAY_NAME, 0, &options->moduleArgs, "%s", error);
return;
}
+1 -1
View File
@@ -13,7 +13,7 @@ void ffPrintWeather(FFWeatherOptions* options)
if(error)
{
ffPrintError(FF_WEATHER_MODULE_NAME, 0, &options->moduleArgs, error);
ffPrintError(FF_WEATHER_MODULE_NAME, 0, &options->moduleArgs, "%s", error);
return;
}