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