tun: Use POLLERR not EBADF in tun_chr_poll
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 20 Jan 2009 10:59:05 +0000 (10:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Jan 2009 00:00:44 +0000 (16:00 -0800)
EBADF is meaningless in the context of a poll mask so use POLLERR
instead.

Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found