fbdev: fix check on nanosleep return vale
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 12 Mar 2011 13:46:16 +0000 (14:46 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 13 Mar 2011 00:41:46 +0000 (01:41 +0100)
commit478607668c8840278c3fdd97382c3fae3f8cd7a2
treeaaa30820ba7274068f92ccd9d4fcafd84d947b85
parent57d63d43cf508ae99c3a536d8c63d67cd26c628a
fbdev: fix check on nanosleep return vale

In fbdev_read_packet(): nanosleep returns -1 in case of errors,
the EINTR check has to be done on errno.

Spotted by Nicolas.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavdevice/fbdev.c