$OpenBSD: patch-src_input_input_dvb_c,v 1.1.1.1 2006/03/24 22:43:41 jakemsr Exp $
--- src/input/input_dvb.c.orig	Fri Oct 14 16:02:16 2005
+++ src/input/input_dvb.c	Thu Dec 29 23:39:05 2005
@@ -965,8 +965,8 @@ static int tuner_tune_it (tuner_t *this,
 
   if (poll(pfd,1,3000)){
       if (pfd[0].revents & POLLIN){
-	  if (ioctl(this->fd_frontend, FE_GET_EVENT, &event) == -EOVERFLOW){
-	      print_error("EOVERFLOW");
+	  if (ioctl(this->fd_frontend, FE_GET_EVENT, &event) == -EINVAL){
+	      print_error("EINVAL");
 	      return 0;
 	  }
 	  if (event.parameters.frequency <= 0)
