Browse Source

dpkg-deb: Use info() instead of plain printf()

Guillem Jover 8 years ago
parent
commit
db8d2e8a85
1 changed files with 2 additions and 3 deletions
  1. 2 3
      dpkg-deb/build.c

+ 2 - 3
dpkg-deb/build.c

@@ -498,15 +498,14 @@ do_build(const char *const *argv)
     if (debar == NULL)
       ohshit(_("target is directory - cannot skip control file check"));
     warning(_("not checking contents of control area"));
-    printf(_("dpkg-deb: building an unknown package in '%s'.\n"), debar);
+    info(_("building an unknown package in '%s'."), debar);
   } else {
     struct pkginfo *pkg;
 
     pkg = check_control_area(ctrldir, dir);
     if (debar == NULL)
       debar = gen_dest_pathname_from_pkg(dest, pkg);
-    printf(_("dpkg-deb: building package '%s' in '%s'.\n"),
-           pkg->set->name, debar);
+    info(_("building package '%s' in '%s'."), pkg->set->name, debar);
   }
   m_output(stdout, _("<standard output>"));