Blame SOURCES/0245-RHBZ-1584228-fix-readsector0_size.patch
|
|
4728c8 |
---
|
|
|
4728c8 |
libmultipath/checkers/readsector0.c | 2 +-
|
|
|
4728c8 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
4728c8 |
|
|
|
4728c8 |
Index: multipath-tools-130222/libmultipath/checkers/readsector0.c
|
|
|
4728c8 |
===================================================================
|
|
|
4728c8 |
--- multipath-tools-130222.orig/libmultipath/checkers/readsector0.c
|
|
|
4728c8 |
+++ multipath-tools-130222/libmultipath/checkers/readsector0.c
|
|
|
4728c8 |
@@ -29,7 +29,7 @@ int libcheck_check (struct checker * c)
|
|
|
4728c8 |
unsigned char sbuf[SENSE_BUFF_LEN];
|
|
|
4728c8 |
int ret;
|
|
|
4728c8 |
|
|
|
4728c8 |
- ret = sg_read(c->fd, &buf[0], 4069, &sbuf[0],
|
|
|
4728c8 |
+ ret = sg_read(c->fd, &buf[0], 4096, &sbuf[0],
|
|
|
4728c8 |
SENSE_BUFF_LEN, c->timeout);
|
|
|
4728c8 |
|
|
|
4728c8 |
switch (ret)
|