The following commit has been merged in the master branch:
commit 5fe88c57eed84b77e469d2a1b788f338e049a00f
Author: Guillem Jover <[email protected]>
Date:   Fri Sep 25 15:31:08 2009 +0200

    Use warning() instead of fprintf() in checkpath()

diff --git a/src/help.c b/src/help.c
index a0f8376..296c9ec 100644
--- a/src/help.c
+++ b/src/help.c
@@ -117,7 +117,7 @@ void checkpath(void) {
       s= p; if (s) s++;
     }
     if (!s) {
-      fprintf(stderr,_("dpkg: `%s' not found on PATH.\n"),*clp);
+      warning(_("'%s' not found on PATH."), *clp);
       warned++;
     }
   }

-- 
dpkg's main repository


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

Reply via email to