--- cciss_vol_status.c 2009-11-18 18:13:06.000000000 +0100 +++ ../foo/cciss_vol_status.c 2010-01-05 11:19:02.000000000 +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 (strcmp(std_inq+8, prod[i]) == 0) return 1; } return 0;