summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg')
-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();