summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/cciss_vol_status/files/1.06-strlen-typo.patch')
-rw-r--r--sys-apps/cciss_vol_status/files/1.06-strlen-typo.patch12
1 files changed, 0 insertions, 12 deletions
diff --git a/sys-apps/cciss_vol_status/files/1.06-strlen-typo.patch b/sys-apps/cciss_vol_status/files/1.06-strlen-typo.patch
deleted file mode 100644
index a65f29dac087..000000000000
--- a/sys-apps/cciss_vol_status/files/1.06-strlen-typo.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -uNr cciss_vol_status-1.06.ORIG//cciss_vol_status.c cciss_vol_status-1.06/cciss_vol_status.c
---- cciss_vol_status-1.06.ORIG//cciss_vol_status.c 2010-05-02 16:33:47.634833662 +0100
-+++ cciss_vol_status-1.06/cciss_vol_status.c 2010-05-02 16:34:03.351822015 +0100
-@@ -1004,7 +1004,7 @@
- if (status < 0)
- return 0;
- for (i = 0; prod[i] != NULL; i++) {
-- if (strncmp(std_inq+8, prod[i], strnlen(prod[i])) == 0)
-+ if (strncmp(std_inq+8, prod[i], strlen(prod[i])) == 0)
- return 1;
- }
- return 0;