[Reproducible-commits] [dpkg] 75/105: dpkg-deb: Use info() instead of plain printf()

Niko Tyni ntyni at moszumanska.debian.org
Mon May 2 13:49:55 UTC 2016


This is an automated email from the git hooks/post-receive script.

ntyni pushed a commit to branch ntyni/reproducible_builds
in repository dpkg.

commit db8d2e8a85fe0623edea396a76b5ab3cd8542e1b
Author: Guillem Jover <guillem at debian.org>
Date:   Tue Apr 12 00:55:20 2016 +0200

    dpkg-deb: Use info() instead of plain printf()
---
 dpkg-deb/build.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dpkg-deb/build.c b/dpkg-deb/build.c
index 0b384ff..fafaa1e 100644
--- a/dpkg-deb/build.c
+++ b/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>"));
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list