Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-updates-src > by-pkgid > 788e37780584364cdb6f68cbf9e83464 > files > 5

pfstools-1.8.5-1.1.mga5.src.rpm

diff -up pfstools-1.8.5/src/pfs/pfs.cpp.wformat pfstools-1.8.5/src/pfs/pfs.cpp
--- pfstools-1.8.5/src/pfs/pfs.cpp.wformat	2013-12-06 12:46:04.196939099 +0100
+++ pfstools-1.8.5/src/pfs/pfs.cpp	2013-12-06 12:47:58.167480681 +0100
@@ -525,7 +525,7 @@ static void writeTags( const TagContaine
   TagList::const_iterator it;
   fprintf( out, "%d" PFSEOL, tags->getSize() );
   for( it = tags->tagsBegin(); it != tags->tagsEnd(); it++ ) {
-    fprintf( out, (const char*)(it->c_str()) );
+    fprintf( out, "%s", (const char*)(it->c_str()) );
     fprintf( out, PFSEOL );
   }
 }