--- sanei/sanei_scsi.c.orig 2007-11-16 19:37:07.000000000 +0100 +++ sanei/sanei_scsi.c 2008-04-08 15:45:05.000000000 +0200 @@ -2882,8 +2882,7 @@ issue (struct req *req) channel, id, lun) && ((*attach) (dev_name) != SANE_STATUS_GOOD)) { - fclose (proc_fp); - return; + DBG(1,"sanei_scsi_find_devices: bad attach\n"); } } vendor[0] = model[0] = type[0] = 0;