HCoop
/
ntk
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix various -Wall warnings
[ntk/apt.git]
/
apt-pkg
/
depcache.cc
diff --git
a/apt-pkg/depcache.cc
b/apt-pkg/depcache.cc
index
d8b4dc6
..
4ac77b3
100644
(file)
--- a/
apt-pkg/depcache.cc
+++ b/
apt-pkg/depcache.cc
@@
-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");
}
}