From de35187a242df87d7873f34319751b814b1d5bd3 Mon Sep 17 00:00:00 2001 From: Christophe Varoqui Date: Tue, 15 Nov 2011 21:39:34 +0100 Subject: [PATCH] Revert "multipath: rlookup WWIDs with spaces by alias" This reverts commit 1620040c3b1a4c4f6762d7e606a83c9f5ab8ebff. wwid can have not whitespace anyway. scsi_id make sure of that. --- libmultipath/alias.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmultipath/alias.c b/libmultipath/alias.c index 16ba220..4159ec6 100644 --- a/libmultipath/alias.c +++ b/libmultipath/alias.c @@ -288,7 +288,7 @@ rlookup_binding(FILE *f, char **map_wwid, char *map_alias) curr_id = scan_devname(alias, NULL); /* TBD: Why this call? */ 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", -- 2.34.1