Message ID | 20110720212452.6404.qmail@sourceware.org (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
--- multipath-tools/libmultipath/discovery.c 2011/04/05 18:41:45 1.32.2.20 +++ multipath-tools/libmultipath/discovery.c 2011/07/20 21:24:52 1.32.2.21 @@ -817,8 +817,7 @@ return 1; } - if(safe_sprintf(dev_path, "%s/device/cciss%u/c%ud%u", curpath->dev, - controller, controller, lun)) { + if(safe_sprintf(dev_path, "%s/device", curpath->dev)) { condlog(0, "dev_path too small"); return 1; }