diff -ruNp multipath-tools-0.4.5.Final-19/libmultipath/dmparser.c multipath-tools-0.4.5.Final-19-fixed/libmultipath/dmparser.c --- multipath-tools-0.4.5.Final-19/libmultipath/dmparser.c 2005-08-23 16:46:17.000000000 +0200 +++ multipath-tools-0.4.5.Final-19-fixed/libmultipath/dmparser.c 2005-09-30 12:54:26.000000000 +0200 @@ -250,7 +250,7 @@ disassemble_status (char * params, struc { char * word; char * p; - int i, j; + int i, j, k; int num_feature_args; int num_hwhandler_args; int num_pg; @@ -405,12 +405,13 @@ disassemble_status (char * params, struc pp->failcount = atoi(word); FREE(word); + + /* + * selector args + */ + for (k = 0; k < num_pg_args; k++) + p += get_word(p, NULL); } - /* - * selector args - */ - for (j = 0; j < num_pg_args; j++) - p += get_word(p, NULL); } return 0; }