From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (wildebeest.demon.nl [212.238.236.112]) by sourceware.org (Postfix) with ESMTPS id D29D53959CB5 for ; Thu, 29 Apr 2021 12:59:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D29D53959CB5 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mark@klomp.org Received: from tarox.wildebeest.org (tarox.wildebeest.org [172.31.17.39]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 6119A300075F; Thu, 29 Apr 2021 14:59:49 +0200 (CEST) Received: by tarox.wildebeest.org (Postfix, from userid 1000) id 4472D413CB92; Thu, 29 Apr 2021 14:59:49 +0200 (CEST) Message-ID: <93e810d766effed80b1e6ea391837844756e4730.camel@klomp.org> Subject: Re: [PATCH 2/2] debugedit: consistently use error() instead of fprintf(stderr) From: Mark Wielaard To: "Dmitry V. Levin" , debugedit@sourceware.org Date: Thu, 29 Apr 2021 14:59:49 +0200 In-Reply-To: <20210426200000.GB12328@altlinux.org> References: <20210426200000.GB12328@altlinux.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.28.5 (3.28.5-10.el7) Mime-Version: 1.0 X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: debugedit@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: debugedit development mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2021 12:59:52 -0000 Hi Dmitry, On Mon, 2021-04-26 at 20:00 +0000, Dmitry V. Levin wrote: > The error() function is already used in debugedit for printing some > of diagnostic messages, extend this practice to all such messages. > The user-visible side of this change is that all diagnostic messages > are now consistently prefixed. >=20 > * tools/debugedit.c (edit_attributes, handle_build_id, main): Replace > fprintf(stderr) with error(). Thanks, this makes the error handling more consistent. Pushed, Mark