summaryrefslogtreecommitdiff
path: root/methods/cdrom.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-01-05 20:20:24 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2012-01-05 20:20:24 +0100
commit570590c0640f71c98893051420517894be8eb6eb (patch)
tree563eeacf3aa349c1c7366c073cfb99348ab1c6a8 /methods/cdrom.cc
parentb7c7eb099c8d228935f9c3fa0a7c788a4018bfb1 (diff)
parent5c6ceb4557cb6497dea827d1ec4e2615ccd53e50 (diff)
merged from debian-experimental2
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 e7114b168..22d4b9164 100644
--- a/methods/cdrom.cc
+++ b/methods/cdrom.cc
@@ -268,7 +268,7 @@ bool CDROMMethod::Fetch(FetchItem *Itm)
Hashes Hash;
FileFd Fd(Res.Filename, FileFd::ReadOnly);
- Hash.AddFD(Fd.Fd(), Fd.Size());
+ Hash.AddFD(Fd);
Res.TakeHashes(Hash);
URIDone(Res);