]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - eject/patches/eject-timeout.patch
Move all packages to root.
[people/amarx/ipfire-3.x.git] / eject / patches / eject-timeout.patch
1 --- eject/eject.c.orig 2006-08-07 16:35:15.000000000 +0200
2 +++ eject/eject.c 2006-08-07 16:35:54.000000000 +0200
3 @@ -723,7 +723,7 @@
4 io_hdr.dxfer_len = 0;
5 io_hdr.dxferp = inqBuff;
6 io_hdr.sbp = sense_buffer;
7 - io_hdr.timeout = 2000;
8 + io_hdr.timeout = 10000;
9
10 io_hdr.cmdp = allowRmBlk;
11 status = ioctl(fd, SG_IO, (void *)&io_hdr);