Re: [kbd] [PATCH 5/5] Replace error() by fprintf() and perror()
Alexey Gladkov <[email protected]>
| Newsgroups | dev.linux.lists.kbd |
|---|---|
| Message-ID | <[email protected]> |
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