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