From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A01591382C5 for ; Thu, 1 Mar 2018 14:03:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8B42BE0974; Thu, 1 Mar 2018 14:03:52 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6A5B0E0974 for ; Thu, 1 Mar 2018 14:03:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3CE21335C2C for ; Thu, 1 Mar 2018 14:03:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8D6B11E6 for ; Thu, 1 Mar 2018 14:03:49 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1519913021.4d518efa8955097c86305e18730ccc0709845c72.grobian@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: scripts/rsync-generation/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: scripts/rsync-generation/hashgen.c X-VCS-Directories: scripts/rsync-generation/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 4d518efa8955097c86305e18730ccc0709845c72 X-VCS-Branch: master Date: Thu, 1 Mar 2018 14:03:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fa7a3909-f2c8-4340-9a9a-11e6922daa4b X-Archives-Hash: 05d60bdf440eab9bf898682bc088574a commit: 4d518efa8955097c86305e18730ccc0709845c72 Author: Fabian Groffen gentoo org> AuthorDate: Thu Mar 1 14:03:41 2018 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Thu Mar 1 14:03:41 2018 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=4d518efa scripts/rsync-generation/hashgen: make error messages more uniform scripts/rsync-generation/hashgen.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/rsync-generation/hashgen.c b/scripts/rsync-generation/hashgen.c index 226daa74df..56abd691a3 100644 --- a/scripts/rsync-generation/hashgen.c +++ b/scripts/rsync-generation/hashgen.c @@ -1128,8 +1128,8 @@ verify_dir( slash = strchr(entry, ' '); if (slash != NULL) *slash = '\0'; - fprintf(stderr, "%s: missing %s file: %s\n", - mfest, etpe == 'M' ? "MANIFEST" : "DATA", entry); + printf("%s:%s:\n- %s file not found\n", + mfest, entry, etpe == 'M' ? "MANIFEST" : "DATA"); if (slash != NULL) *slash = ' '; } @@ -1137,7 +1137,7 @@ verify_dir( } else if (cmp > 0) { /* dir has extra element */ ret |= 1; - fprintf(stderr, "%s: stray file not in Manifest: %s\n", + printf("%s:\n- found excess file: %s\n", mfest, dentries[curdentry]); curdentry++; }