chiark / gitweb /
path_id: fix fibre channel handling
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 21 Nov 2008 19:48:24 +0000 (20:48 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 21 Nov 2008 19:48:24 +0000 (20:48 +0100)
extras/path_id/path_id

index 0fad30c..f7b1435 100755 (executable)
@@ -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