diff --git a/xCAT-server/lib/xcat/plugins/hmc.pm b/xCAT-server/lib/xcat/plugins/hmc.pm index a337e8c0e..dc9f39199 100644 --- a/xCAT-server/lib/xcat/plugins/hmc.pm +++ b/xCAT-server/lib/xcat/plugins/hmc.pm @@ -202,7 +202,7 @@ sub genhwtree ################################################################## # only handle physical hardware objects here. - my $typehash = xCAT::DBobjUtils->getnodetype(\@$nodelist, "ppc"); + my $typehash = xCAT::DBobjUtils->getnodetype($nodelist, "ppc"); my @ppcnodes; foreach (@entries) { push @ppcnodes, $_->{node};