diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-09-10 13:43:32 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-09-10 13:43:32 +0200 |
commit | 7970157ffb85024c03fde027bac2f0ebbe587ad7 (patch) | |
tree | 0737cb12f5e640069cda1527c763f6b039c06202 /apt-pkg/contrib/cdromutl.cc | |
parent | 2a001232db431d995281c2bead32ed9423721447 (diff) | |
download | apt-7970157ffb85024c03fde027bac2f0ebbe587ad7.tar.gz |
apt-pkg/contrib/cdromutl.cc: style fixes (thanks to David for his code-review)
Diffstat (limited to 'apt-pkg/contrib/cdromutl.cc')
-rw-r--r-- | apt-pkg/contrib/cdromutl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-pkg/contrib/cdromutl.cc b/apt-pkg/contrib/cdromutl.cc index 129e4a9f..9c00f94b 100644 --- a/apt-pkg/contrib/cdromutl.cc +++ b/apt-pkg/contrib/cdromutl.cc @@ -161,10 +161,10 @@ bool IdentCdrom(string CD,string &Res,unsigned int Version) // used like a cdrom don't use "." as it will constantly change, // use .disk instead if (access(CD.c_str(), W_OK) == 0 && DirectoryExists(CD+string("/.disk"))) { - CD = CD+string("/.disk"); + CD = CD.append("/.disk"); if (_config->FindB("Debug::aptcdrom",false) == true) - std::clog << "Found writable cdrom, using alternative path: " - << CD.c_str() << std::endl; + std::clog << "Found writable cdrom, using alternative path: " << CD + << std::endl; } string StartDir = SafeGetCWD(); |