summaryrefslogtreecommitdiff
path: root/extras/path_id
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-04-13 09:44:07 +0200
committerKay Sievers <kay.sievers@suse.de>2006-04-13 09:44:07 +0200
commit0c4a805bccbc52e48f972a87f83007fdb0ffe19e (patch)
tree8297c74f4001d56826e34d71bf31a6e224bd41a5 /extras/path_id
parentff9a488d8c559a2ee40e522cdc68b750670711e4 (diff)
path_id: fix loop for SAS devices
Diffstat (limited to 'extras/path_id')
-rwxr-xr-xextras/path_id/path_id2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/path_id/path_id b/extras/path_id/path_id
index 0274be391a..3f8efd63ac 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