From acbcc588584b0c4a070dcb026277de3b62e7c9db Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Wed, 3 Apr 2013 09:06:33 +0000 Subject: [PATCH] 3461 Undefined subroutine &xCAT::FSPUtils::defiend called at /opt/xcat/lib/perl/xCAT/FSPUtils.pm git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15800 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/FSPUtils.pm b/perl-xCAT/xCAT/FSPUtils.pm index 5f4ef08bf..01630196e 100644 --- a/perl-xCAT/xCAT/FSPUtils.pm +++ b/perl-xCAT/xCAT/FSPUtils.pm @@ -76,7 +76,7 @@ sub getHcpAttribs push @{$ppchash{$tmp_parent}{children}}, $tmp_node; #push @{$ppchash{$tmp_parent}}, $tmp_node; } - if (defined($tmp_node) && defiend($tmp_type) && ($tmp_type eq "blade") && defined($entry->{hcp})) { + if (defined($tmp_node) && defined($tmp_type) && ($tmp_type eq "blade") && defined($entry->{hcp})) { push @{$ppchash{$tmp_node}{children}}, $entry->{hcp}; }