diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2008-08-05 10:52:09 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2008-08-05 10:52:09 +0200 |
commit | 9b5d79ec68d5380f26b92cd0d9cb7af6a19ac849 (patch) | |
tree | 7d937a34f5d2e534d29c03a4d8d67c46430f74a1 /apt-pkg/depcache.cc | |
parent | 5aa95c863d9bc5b0de7dd1279d3ad672193cc3a6 (diff) |
fix various -Wall warnings
Diffstat (limited to 'apt-pkg/depcache.cc')
-rw-r--r-- | apt-pkg/depcache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc index d8b4dc6d2..4ac77b3aa 100644 --- 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"); } } |