Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > a1f8f294327838a42a562478b8e1539f > files > 1

toppler-1.1.3-7mdv2010.1.src.rpm

--- decl.cc.str	2009-04-11 21:35:57.000000000 +0200
+++ decl.cc	2009-04-11 21:36:12.000000000 +0200
@@ -156,7 +156,7 @@
 #ifndef WIN32
   // look into actual directory
   if (dcl_fileexists(name)) {
-    snprintf(f, len, name);
+    snprintf(f, len, "%s", name);
     return true;
   }
 
@@ -165,7 +165,7 @@
 
   snprintf(n, 200, TOP_DATADIR"/%s", name);
   if (dcl_fileexists(n)) {
-    snprintf(f, len, n);
+    snprintf(f, len, "%s", n);
     return true;
   }