[MPlayer-dev-eng] [PATCH] tvi_bsdbt848.c cleanup: perror -> mp_msg

Vladimir Voroshilov voroshil at gmail.com
Sun Aug 26 11:10:53 CEST 2007


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 ?

-- 
Regards,
Vladimir Voroshilov     mailto:voroshil at gmail.com
JID: voroshil at gmail.com, voroshil at jabber.ru
ICQ: 95587719
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bt848_perror_mp_msg3.diff
Type: application/octet-stream
Size: 7689 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070826/ef7fa765/attachment.obj>


More information about the MPlayer-dev-eng mailing list