[kbd] [PATCH 5/5] Replace error() by fprintf() and perror()
Alexey Gladkov
gladkov.alexey at gmail.com
Mon May 4 21:38:49 MSK 2015
29.04.2015 21:11, Felix Janda пишет:
> For example init_vt() in vlock/vt.c
> or main() in kbdinfo.c mix fprintf(stderr) and error(). It seems to me
> that error was mainly used as a convenient shorthand for
> fprint(stderr) && exit(). (Having a shorthand makes sense.)
I did my homework and reduce the calls of perror and fprint(stderr) &&
exit(). Other calls in the parts that I will replace soon.
--
Rgrds, legion
More information about the kbd
mailing list