[MPlayer-dev-eng] [PATCH] tvi_bsdbt848.c cleanup: perror -> mp_msg
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Aug 26 11:29:12 CEST 2007
Hello,
On Sun, Aug 26, 2007 at 04:10:53PM +0700, Vladimir Voroshilov wrote:
> 2007/8/26, Bernd Ernesti <mplayer-dev-eng at lists.veego.de>:
> > On Sun, Aug 26, 2007 at 10:13:42AM +0200, Reimar Döffinger wrote:
> > > Hello,
> > > On Sun, Aug 26, 2007 at 01:50:18AM +0700, Vladimir Voroshilov wrote:
> > > > Attached patch replaces all occurances of perror(...) to
> > > > mp_msg(MSGT_TV,MSGL_ERR,...).
> > > >
> > > > BSD guys, please make compilation test.
> > >
> > > That makes the message much less helpful, I think you should append
> > > strerror(errno);
> >
> > That and changing the lines from
> > mp_msg(MSGT_TV,MSGL_ERR,"tvi_bsdbt848:
> > to
> > mp_msg(MSGT_TV, MSGL_ERR, "%s:
> > too.
> >
>
> Like in attched patch ?
Well, I find that "%s: " incredibly stupid, but it is already done in
other places, so feel free to do it however you like.
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list