libnm-util: fix build with gcc 4.4 - pass string format to g_set_error

This commit is contained in:
Alexander Sack
2009-09-30 16:01:16 +02:00
committed by Alexander Sack
parent 66251aedab
commit dec1773694

View File

@@ -2513,7 +2513,7 @@ verify_cert (GByteArray *array, const char *prop_name, GError **error)
g_set_error (error,
NM_SETTING_802_1X_ERROR,
NM_SETTING_802_1X_ERROR_INVALID_PROPERTY,
prop_name);
"%s", prop_name);
return FALSE;
}