The following commit has been merged in the master branch:
commit a7ab968e9e5e30103bdc9439374eb6df794578fd
Author: Guillem Jover <[email protected]>
Date:   Fri Feb 19 07:07:04 2010 +0100

    dpkg-deb: Unify “failed read” strings by making control an argument

diff --git a/dpkg-deb/info.c b/dpkg-deb/info.c
index ad35255..b295718 100644
--- a/dpkg-deb/info.c
+++ b/dpkg-deb/info.c
@@ -174,7 +174,8 @@ static void info_list(const char *debar, const char 
*directory) {
   free(cdlist);
 
   if (!(cc= fopen("control","r"))) {
-    if (errno != ENOENT) ohshite(_("failed to read `control' (in 
`%.255s')"),directory);
+    if (errno != ENOENT)
+      ohshite(_("failed to read `%.255s' (in `%.255s')"), "control", 
directory);
     fputs(_("(no `control' file in control archive!)\n"), stdout);
   } else {
     lines= 1;

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to