From 9a43d7dbf76c71949b98522f0a80f05e1115a3d6 Mon Sep 17 00:00:00 2001
From: Joey Hess <joey@kitenet.net>
Date: Fri, 27 May 2011 09:39:08 -0400
Subject: [PATCH] Fix error message. Closes: #628053

---
 Debian/Debhelper/Dh_Lib.pm | 2 +-
 debian/changelog           | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index dcba4d2..51b53d3 100644
--- a/Debian/Debhelper/Dh_Lib.pm
+++ b/Debian/Debhelper/Dh_Lib.pm
@@ -609,7 +609,7 @@ sub filedoublearray {
 	my $globdir=shift;
 
 	my @ret;
-	open (DH_FARRAY_IN, $file) || error("cannot read $file: $1");
+	open (DH_FARRAY_IN, $file) || error("cannot read $file: $!");
 	while (<DH_FARRAY_IN>) {
 		chomp;
 		# Only ignore comments and empty lines in v5 mode.
diff --git a/debian/changelog b/debian/changelog
index 677165a..47a6618 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 debhelper (8.1.7) UNRELEASED; urgency=low
 
   * Fix example. Closes: #627534
+  * Fix error message. Closes: #628053
 
  -- Joey Hess <joeyh@debian.org>  Sat, 21 May 2011 15:24:19 -0400
 
-- 
2.39.5