From 036be80a027f0b23b21f021f64e8ed9dc0c4cdb1 Mon Sep 17 00:00:00 2001 From: Abel Deuring Date: Wed, 23 Aug 2000 15:15:36 +0000 Subject: [PATCH] new attempt to add the errno patch to the Linux command queueing --- sanei/sanei_scsi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sanei/sanei_scsi.c b/sanei/sanei_scsi.c index f761bad5a..1d126d21c 100644 --- a/sanei/sanei_scsi.c +++ b/sanei/sanei_scsi.c @@ -1644,6 +1644,7 @@ issue (struct req *req) retries = 20; while (retries) { + errno = 0; #ifdef SG_IO if (sg_version < 30000) {