Check-in Number:
|
3578 | |
Date: |
2003-Sep-09 15:43:45 (local)
2003-Sep-09 13:43:45 (UTC) |
User: | thl |
Branch: | |
Comment: |
fix local variable warning |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/snmpdx/snmpdx.d/sysVM.pm 1.5 -> 1.6
--- sysVM.pm 2003/09/04 10:07:47 1.5
+++ sysVM.pm 2003/09/09 13:43:45 1.6
@@ -307,7 +307,7 @@
# sysVMSwapMax, sysVMSwapFree
$out = $self->{-ctx}->{-sys}->run("/usr/sbin/swap -l", "1m");
$raw = $out->{-stdout};
- my $n2i = {};
+ $n2i = {};
if ($raw =~ m/^\s*([^\n]*\bblocks[^\n]*\bfree[^\n]*)\n(.*)$/s) {
$n2i = &mkn2i(split / +/, $1) if (scalar keys %$n2i == 0);
}
|
|