summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-09-10 13:43:32 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-09-10 13:43:32 +0200
commit7970157ffb85024c03fde027bac2f0ebbe587ad7 (patch)
tree0737cb12f5e640069cda1527c763f6b039c06202
parent2a001232db431d995281c2bead32ed9423721447 (diff)
apt-pkg/contrib/cdromutl.cc: style fixes (thanks to David for his code-review)
-rw-r--r--apt-pkg/contrib/cdromutl.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-pkg/contrib/cdromutl.cc b/apt-pkg/contrib/cdromutl.cc
index 129e4a9f6..9c00f94b5 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();