File 0117-tcm_node-Fix-typo-in-tcm_create_pscsibyudev.patch of Package lio-utils.216

From 5ed01e4481e7bcaeafcb4e9c52d4242f2331cb6f Mon Sep 17 00:00:00 2001
From: Nicholas Bellinger <nab@risingtidesystems.com>
Date: Thu, 17 Jan 2013 13:37:48 -0800
Subject: tcm_node: Fix typo in tcm_create_pscsibyudev

This typo fixes a regression bug that was preventing tcm_node --pscsibydev
from working as expected.

Signed-off-by: Nicholas Bellinger <nab@risingtidesystems.com>
---
 tcm-py/tcm_node.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tcm-py/tcm_node.py b/tcm-py/tcm_node.py
index 86eeef4..3195d66 100755
--- a/tcm-py/tcm_node.py
+++ b/tcm-py/tcm_node.py
@@ -298,7 +298,7 @@ def tcm_create_pscsi(dev_path, ctl):
 	tcm_createvirtdev(dev_path, pscsi_params_str)
 
 def tcm_create_pscsibyudev(dev_path, udev_path):
-	tcm_createvirtdev(cfs_dev, udev_path)
+	tcm_createvirtdev(dev_dev, udev_path)
 
 def tcm_create_iblock(dev_path, udev_path):
 	tcm_createvirtdev(dev_path, udev_path)
-- 
1.8.1.4

openSUSE Build Service is sponsored by