Search
j0ke.net Open Build Service
>
Projects
>
GFS
>
multipath-tools
> multipath-tools-mpath-naming-ends-on-az
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File multipath-tools-mpath-naming-ends-on-az of Package multipath-tools
commit 1b83fe5724f589db3f498beaed3caaca52faa71b Author: Hannes Reinecke <hare@suse.de> Date: Thu Mar 20 15:39:08 2008 +0100 Multipath naming ends on az When using option 'user_friendly_names' the generates names end on 'az' and don't wrap around as expected. References: 364021 Signed-off-by: Hannes Reinecke <hare@suse.de> diff --git a/libmultipath/alias.c b/libmultipath/alias.c index aff32f7..3e190d0 100644 --- a/libmultipath/alias.c +++ b/libmultipath/alias.c @@ -214,7 +214,7 @@ scan_devname(char *alias) i = *c - 'a'; n = ( n * 26 ) + i; c++; - if (*c < 'a' || *c >= 'z') + if (*c < 'a' || *c > 'z') break; n++; }