OSSP CVS Repository

ossp - Difference in ossp-pkg/snmpdx/snmpdx.d/sysVM.pm versions 1.5 and 1.6
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

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);
             }

CVSTrac 2.0.1