Prior versions of multipathd would accept several whitespaces in the bindings file. Signed-off-by: Hannes Reinecke <hare@xxxxxxx> --- libmultipath/alias.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libmultipath/alias.c b/libmultipath/alias.c index e1f3073..2b42606 100644 --- a/libmultipath/alias.c +++ b/libmultipath/alias.c @@ -99,7 +99,7 @@ lookup_binding(FILE *f, char *map_wwid, char **map_alias, char *prefix) curr_id = scan_devname(alias, prefix); if (curr_id >= id) id = curr_id + 1; - wwid = strtok(NULL, ""); + wwid = strtok(NULL, " \t"); if (!wwid){ condlog(3, "Ignoring malformed line %u in bindings file", -- 1.7.4.2 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel