The attached patch fixes compilation of openvas-libraries with
-Werror=format-security.

Please review and apply to trunk if acceptable. Also let me know the outcome.

Thanks a lot in advance.
Stephan
Index: libopenvascommon/nvti.c
===================================================================
--- libopenvascommon/nvti.c	2009-08-07 12:23:14.000000000 +0200
+++ libopenvascommon/nvti.c	2009-08-23 14:24:13.000000000 +0200
@@ -951,7 +951,7 @@
 
   if (!g_key_file_load_from_file (keyfile, fn, G_KEY_FILE_NONE, &error))
     {
-      g_error (error->message);
+      g_error ("%s", error->message);
       return NULL;
     }
 
_______________________________________________
Openvas-devel mailing list
Openvas-devel@wald.intevation.org
http://lists.wald.intevation.org/mailman/listinfo/openvas-devel

Reply via email to