summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Control/HashCore.pm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Dpkg/Control/HashCore.pm')
-rw-r--r--scripts/Dpkg/Control/HashCore.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Dpkg/Control/HashCore.pm b/scripts/Dpkg/Control/HashCore.pm
index 816b100d0..ffb87c1d7 100644
--- a/scripts/Dpkg/Control/HashCore.pm
+++ b/scripts/Dpkg/Control/HashCore.pm
@@ -349,7 +349,7 @@ sub output {
}
# Print it out
if ($fh) {
- print $fh "$key: $value\n"
+ print { $fh } "$key: $value\n"
or syserr(_g('write error on control data'));
}
$str .= "$key: $value\n" if defined wantarray;