From 44271467a027b991dce60962910cdb524f5f6fe6 Mon Sep 17 00:00:00 2001 From: linggao Date: Wed, 25 Aug 2010 18:47:47 +0000 Subject: [PATCH] minor fix for a compiler warning git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7241 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/monitoring/montbhandler.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/monitoring/montbhandler.pm b/xCAT-server/lib/xcat/monitoring/montbhandler.pm index 696fdfeba..7baa6ea54 100644 --- a/xCAT-server/lib/xcat/monitoring/montbhandler.pm +++ b/xCAT-server/lib/xcat/monitoring/montbhandler.pm @@ -5,8 +5,8 @@ BEGIN { $::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat'; } -use lib "$::XCATROOT/lib/perl"; +use lib "$::XCATROOT/lib/perl"; use xCAT::Table; use xCAT::MsgUtils; use xCAT::Utils; @@ -72,7 +72,7 @@ sub unregMonitoringNotif { my $tab = xCAT::Table->new('notification'); my $regged=0; if ($tab) { - (my $ref) = $tab->getAttribs({filename => qw(montbhandler.pm)}, tables); + (my $ref) = $tab->getAttribs({filename => qw(montbhandler.pm)}, "tables"); if ($ref and $ref->{tables}) { $regged=1; }