[PATCH 2/2] debugedit: consistently use error() instead of fprintf(stderr)

Mark Wielaard mark@klomp.org
Thu Apr 29 12:59:49 GMT 2021


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.
> 
> * tools/debugedit.c (edit_attributes, handle_build_id, main): Replace
> fprintf(stderr) with error().

Thanks, this makes the error handling more consistent.

Pushed,

Mark


More information about the Debugedit mailing list