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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.