]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/depcache.cc
* fix various -Wall warnings
[apt.git] / apt-pkg / depcache.cc
index 8d8befbdfb72754957c550121fa64f69b38595b9..17864c76ca8614e96217cf072421856bc94ed004 100644 (file)
@@ -269,7 +269,7 @@ bool pkgDepCache::writeStateFile(OpProgress *prog, bool InstalledOnly)
         ostr.str(string(""));
         ostr << "Package: " << pkg.Name() 
              << "\nAuto-Installed: 1\n\n";
-        fprintf(OutFile,ostr.str().c_str());
+        fprintf(OutFile,"%s",ostr.str().c_str());
         fprintf(OutFile,"\n");
       }
    }