summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/cdromutl.h
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/contrib/cdromutl.h')
-rw-r--r--apt-pkg/contrib/cdromutl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/contrib/cdromutl.h b/apt-pkg/contrib/cdromutl.h
index f24bb8c70..9d14249c5 100644
--- a/apt-pkg/contrib/cdromutl.h
+++ b/apt-pkg/contrib/cdromutl.h
@@ -14,7 +14,8 @@
using std::string;
-bool MountCdrom(string Path);
+// mount cdrom, DeviceName (e.g. /dev/sr0) is optional
+bool MountCdrom(string Path, string DeviceName="");
bool UnmountCdrom(string Path);
bool IdentCdrom(string CD,string &Res,unsigned int Version = 2);
bool IsMounted(string &Path);