summaryrefslogtreecommitdiffstats
path: root/meta-openembedded/meta-oe/recipes-support/eject/eject/eject-timeout.patch
blob: de8146f32ae2b07335dd03f9331dbf7825536b79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
allow a longer timeout

Upstream-Status: Backport 

Signed-off-by: Morgan Little <morgan.little@windriver.com>

--- eject/eject.c.orig	2006-08-07 16:35:15.000000000 +0200
+++ eject/eject.c	2006-08-07 16:35:54.000000000 +0200
@@ -723,7 +723,7 @@
 	io_hdr.dxfer_len = 0;
 	io_hdr.dxferp = inqBuff;
 	io_hdr.sbp = sense_buffer;
-	io_hdr.timeout = 2000;
+	io_hdr.timeout = 10000;
 
 	io_hdr.cmdp = allowRmBlk;
 	status = ioctl(fd, SG_IO, (void *)&io_hdr);
OpenPOWER on IntegriCloud