summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-11-21 20:48:24 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-11-21 20:48:24 +0100
commitc3f0b654fc18b5f98bc65074e2118177e0f37ae9 (patch)
treedf5b85d2fc4f705f5e8a684d0ad77b72f9c8d7bd
parent4435308844467c0dab329531def8dbfa451d9781 (diff)
path_id: fix fibre channel handling
-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 0fad30cfb2..f7b1435d3d 100755
--- a/extras/path_id/path_id
+++ b/extras/path_id/path_id
@@ -254,7 +254,7 @@ handle_fc () {
fc_tgt_lun="${fc_tgt_hcil##*:}"
fc_tgt_path="${DEV%/*}"
fc_tgt_num="${fc_tgt_path##*/}"
- fc_tgt_dev="${fc_tgt_path}/fc_transport:${fc_tgt_num}"
+ fc_tgt_dev="${fc_tgt_path}/fc_transport/${fc_tgt_num}"
if [ -e "$fc_tgt_dev/port_name" ]; then
read wwpn < $fc_tgt_dev/port_name
fi