File cdp-0.33.13-kernel2.4.9.diff of Package cdp

--- hardware.c
+++ hardware.c
@@ -175,7 +175,7 @@
     int                     ret = 1;
 
     if (pStatus->cd_fd < 0) {
-        if ((pStatus->cd_fd = open (cd_device, O_RDONLY )) < 0) {
+        if ((pStatus->cd_fd = open (cd_device, O_RDONLY | O_NONBLOCK)) < 0) {
             if (errno == EACCES) {
                 if (!warned) {
   		    exit_ncurses();