9317afc
@@ -534,7 +534,7 @@
string, &err);
if (ret == FALSE) {
g_assert(err != NULL);
- g_warning(lu_strerror(err));
+ g_warning("%s", lu_strerror(err));
lu_error_free(&err);
}
return ret;
@@ -672,7 +672,7 @@
(&value, attr, val, &error);
if (ok == FALSE) {
g_assert(error != NULL);
- g_warning(lu_strerror(error));
+ g_warning("%s", lu_strerror(error));
lu_error_free(&error);
} else {
lu_ent_add_current(ent, attr,
Recent versions of the Fedora build system treat format-security warnings as errors, resulting in failure to build. This patch ensures that appropriate format strings are present.
Signed-off-by: Stephen Gallagher sgallagh@redhat.com
Pull-Request has been merged by mitr
Recent versions of the Fedora build system treat format-security
warnings as errors, resulting in failure to build. This patch
ensures that appropriate format strings are present.
Signed-off-by: Stephen Gallagher sgallagh@redhat.com