Parcourir la source

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

Guillem Jover il y a 17 ans
Parent
commit
5fe88c57ee
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/help.c

+ 1 - 1
src/help.c

@@ -117,7 +117,7 @@ void checkpath(void) {
       s= p; if (s) s++;
       s= p; if (s) s++;
     }
     }
     if (!s) {
     if (!s) {
-      fprintf(stderr,_("dpkg: `%s' not found on PATH.\n"),*clp);
+      warning(_("'%s' not found on PATH."), *clp);
       warned++;
       warned++;
     }
     }
   }
   }