diff --git a/lib/driver/bsdi.c b/lib/driver/bsdi.c index 70134496..aa516dea 100644 --- a/lib/driver/bsdi.c +++ b/lib/driver/bsdi.c @@ -1,5 +1,5 @@ /* - $Id: bsdi.c,v 1.12 2005/03/23 11:26:49 rocky Exp $ + $Id: bsdi.c,v 1.13 2005/05/09 01:06:39 rocky Exp $ Copyright (C) 2001 Herbert Valerio Riedel Copyright (C) 2002, 2003, 2004, 2005 Rocky Bernstein @@ -27,7 +27,7 @@ # include "config.h" #endif -static const char _rcsid[] = "$Id: bsdi.c,v 1.12 2005/03/23 11:26:49 rocky Exp $"; +static const char _rcsid[] = "$Id: bsdi.c,v 1.13 2005/05/09 01:06:39 rocky Exp $"; #include #include @@ -215,7 +215,7 @@ _cdio_init (_img_private_t *p_env) return false; } - p_env->gen.fd = open (p_env->gen.source_name, O_RDONLY, 0); + p_env->gen.fd = open (p_env->gen.source_name, O_RDONLY|O_NONBLOCK, 0); if (p_env->gen.fd < 0) {