[40052] trunk/base/src/registry2.0/registry.c
toby at macports.org
toby at macports.org
Thu Sep 18 19:08:42 PDT 2008
Revision: 40052
http://trac.macports.org/changeset/40052
Author: toby at macports.org
Date: 2008-09-18 19:08:41 -0700 (Thu, 18 Sep 2008)
Log Message:
-----------
eliminate some -Wformat-security issues
Modified Paths:
--------------
trunk/base/src/registry2.0/registry.c
Modified: trunk/base/src/registry2.0/registry.c
===================================================================
--- trunk/base/src/registry2.0/registry.c 2008-09-19 02:08:13 UTC (rev 40051)
+++ trunk/base/src/registry2.0/registry.c 2008-09-19 02:08:41 UTC (rev 40052)
@@ -107,12 +107,12 @@
reg_error error;
if (((reg_registry*)reg)->status & reg_attached) {
if (!registry_tcl_detach(interp, (reg_registry*)reg, &error)) {
- fprintf(stderr, error.description);
+ fprintf(stderr, "%s", error.description);
reg_error_destruct(&error);
}
}
if (!reg_close((reg_registry*)reg, &error)) {
- fprintf(stderr, error.description);
+ fprintf(stderr, "%s", error.description);
reg_error_destruct(&error);
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080918/95da7c3e/attachment-0001.html
More information about the macports-changes
mailing list