[kbd] [PATCH 5/5] Replace error() by fprintf() and perror()

Alexey Gladkov gladkov.alexey at gmail.com
Tue May 5 02:10:27 MSK 2015


04.05.2015 22:51, Felix Janda пишет:
> Спасибо, looks like much more consistent and also more informative
> error reporting.

:))))

> Now that there is also kbd_warning(), it is no longer necessary to let
> kbd_error() treat 0 specially and it can get an __attribute__(noreturn).
> See attached patch.

Good catch!

I prefer to save compatibility with the error() function. It costs
nothing, but it does not require to keep in mind the difference
between two implementations.

-- 
Rgrds, legion



More information about the kbd mailing list