From: <bva...@us...> - 2019-02-16 19:11:33
|
Revision: 7940 http://sourceforge.net/p/scst/svn/7940 Author: bvassche Date: 2019-02-16 19:11:27 +0000 (Sat, 16 Feb 2019) Log Message: ----------- scstadmin: Rearrange addVirtualTarget() This patch does not change any functionality. Modified Paths: -------------- trunk/scstadmin/scstadmin.sysfs/scstadmin Modified: trunk/scstadmin/scstadmin.sysfs/scstadmin =================================================================== --- trunk/scstadmin/scstadmin.sysfs/scstadmin 2019-02-16 19:08:50 UTC (rev 7939) +++ trunk/scstadmin/scstadmin.sysfs/scstadmin 2019-02-16 19:11:27 UTC (rev 7940) @@ -3011,10 +3011,11 @@ my $driver = shift; my $target = shift; my $attributes = shift; + my $errorString; + my $targets; # Enable all hardware targets before creating virtual ones - my ($targets, $errorString) = $SCST->targets($driver); - + ($targets, $errorString) = $SCST->targets($driver); foreach my $_target (@{$targets}) { my $attributes; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |