From: Kay Sievers Date: Thu, 13 Apr 2006 07:44:07 +0000 (+0200) Subject: path_id: fix loop for SAS devices X-Git-Tag: 174~2286 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=0c4a805bccbc52e48f972a87f83007fdb0ffe19e;hp=ff9a488d8c559a2ee40e522cdc68b750670711e4 path_id: fix loop for SAS devices --- diff --git a/extras/path_id/path_id b/extras/path_id/path_id index 0274be391..3f8efd63a 100755 --- a/extras/path_id/path_id +++ b/extras/path_id/path_id @@ -244,7 +244,7 @@ handle_sas () { return fi sas_phy_address="$phy_address:$phy_port:$phy_id" - sas_rphy_dev="${sas_host_path}/${sas_phy_id}/${sas_rphy_id}/sas_rphy:${sas_rphy_id}" + sas_rphy_dev="${sas_host_path}/${sas_phy_path}/sas_rphy:${sas_rphy_id}" if [ -e "$sas_rphy_dev/sas_address" ]; then read rphy_address < $sas_rphy_dev/sas_address read rphy_id < $sas_rphy_dev/phy_identifier