From bad6359752b4bab16dcaee722b7d05022ff4227f Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 20 Jul 2011 16:39:12 +0000 Subject: [PATCH] scstadmin: Fix copy/paste bugs in the error messages in initiators() and luns(). git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3699 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scstadmin/scstadmin.sysfs/scst-0.9.00/lib/SCST/SCST.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scstadmin/scstadmin.sysfs/scst-0.9.00/lib/SCST/SCST.pm b/scstadmin/scstadmin.sysfs/scst-0.9.00/lib/SCST/SCST.pm index 0a74b9f9c..c53dd572b 100644 --- a/scstadmin/scstadmin.sysfs/scst-0.9.00/lib/SCST/SCST.pm +++ b/scstadmin/scstadmin.sysfs/scst-0.9.00/lib/SCST/SCST.pm @@ -531,12 +531,12 @@ sub initiators { my @initiators; if ($self->driverExists($driver) != TRUE) { - $self->{'err_string'} = "groups(): Driver '$driver' is not available"; + $self->{'err_string'} = "initiators(): Driver '$driver' is not available"; return undef; } if ($self->targetExists($driver, $target) != TRUE) { - $self->{'err_string'} = "groups(): Target '$target' is not available"; + $self->{'err_string'} = "initiators(): Target '$target' is not available"; return undef; } @@ -573,12 +573,12 @@ sub luns { my %luns; if ($self->driverExists($driver) != TRUE) { - $self->{'err_string'} = "groups(): Driver '$driver' is not available"; + $self->{'err_string'} = "luns(): Driver '$driver' is not available"; return undef; } if ($self->targetExists($driver, $target) != TRUE) { - $self->{'err_string'} = "groups(): Target '$target' is not available"; + $self->{'err_string'} = "luns(): Target '$target' is not available"; return undef; }