]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
remove warning on format string.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 27 Jan 2010 20:29:07 +0000 (20:29 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 27 Jan 2010 20:29:07 +0000 (20:29 +0000)
git-svn-id: file:///svn/unbound/trunk@1964 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
validator/validator.c

index fe195e6f4e754ab6db1c47844c6dce6a409a3436..06890d5838c8a13100153d0f943e943388e69935 100644 (file)
@@ -1,3 +1,6 @@
+27 January 2010: Wouter
+       - removed warning on format string in validator error log statement.
+
 22 January 2010: Wouter
        - libtool finish the install of unbound python dynamic library.
 
index a735b9b1fa1a6df57d1e1664612e17284e87cfd5..13ea1a1910eb890beb4baf5f1b52a0a3bbffe809 100644 (file)
@@ -1925,7 +1925,7 @@ processFinished(struct module_qstate* qstate, struct val_qstate* vq,
                                        &qstate->qinfo);
                        else {
                                char* err = errinf_to_str(qstate);
-                               if(err) log_info(err);
+                               if(err) log_info("%s", err);
                                free(err);
                        }
                }