]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/depcache.cc
merge from the mvo branch
[apt.git] / apt-pkg / depcache.cc
index 859e64ea17dd937ac2d1d0af477b64bd6b30f88d..8584419e110d3f1e713507f72a3c581b994bf551 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");
       }
    }
@@ -1461,3 +1461,4 @@ bool pkgDepCache::Sweep()
 
    return true;
 }
+