summaryrefslogtreecommitdiff
path: root/methods/cdrom.cc
diff options
context:
space:
mode:
Diffstat (limited to 'methods/cdrom.cc')
-rw-r--r--methods/cdrom.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/cdrom.cc b/methods/cdrom.cc
index 87794b052..0e78851ff 100644
--- a/methods/cdrom.cc
+++ b/methods/cdrom.cc
@@ -92,7 +92,7 @@ string CDROMMethod::GetID(string Name)
// CDROMMethod::AutoDetectAndMount /*{{{*/
// ---------------------------------------------------------------------
/* Modifies class varaiable CDROM to the mountpoint */
-bool CDROMMethod::AutoDetectAndMount(URI Get, string NewID)
+bool CDROMMethod::AutoDetectAndMount(URI Get, string &NewID)
{
vector<struct CdromDevice> v = UdevCdroms.Scan();