Fix bug 2791069 'rvitals reports perl syntax error' in xCAT 2.2.1 and 2.3

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3369 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhanx 2009-05-13 09:04:09 +00:00
parent 6b6c6f3b2c
commit f2ba87df27

View File

@ -803,7 +803,7 @@ sub resolve {
#############################
if (( defined( $ent )) && exists( $ent->{parent} )) {
my @attrs = qw(mtm serial);
my ($vpd) = $tabs->{vpd}->getAttribs($ent->{parent},\@attrs);
my ($vpd) = $tabs->{vpd}->getNodeAttribs($ent->{parent},\@attrs);
if ( !defined( $vpd )) {
return( sprintf( $errmsg{NO_UNDEF}, "vpd" ));