summaryrefslogtreecommitdiff
path: root/scripts/dpkg-scansources.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dpkg-scansources.pl')
-rwxr-xr-xscripts/dpkg-scansources.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dpkg-scansources.pl b/scripts/dpkg-scansources.pl
index 8339233e4..bfe73b27c 100755
--- a/scripts/dpkg-scansources.pl
+++ b/scripts/dpkg-scansources.pl
@@ -224,7 +224,7 @@ sub process_dsc {
# Parse ‘.dsc’ file.
my $fields = Dpkg::Control->new(type => CTRL_PKG_SRC);
- $fields->parse($file);
+ $fields->load($file);
$fields->set_options(type => CTRL_INDEX_SRC);
# Get checksums