diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Smokeping/probes/SSH.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping/probes/SSH.pm b/lib/Smokeping/probes/SSH.pm index ddd3fa5..6ab885b 100644 --- a/lib/Smokeping/probes/SSH.pm +++ b/lib/Smokeping/probes/SSH.pm @@ -88,7 +88,7 @@ sub pingone ($){ # get the user and system times before and after the test $self->do_debug("query=$query\n"); for (my $run = 0; $run < $self->pings; $run++) { - my $t0 = [gettimeofday]; + my $t0 = [gettimeofday()]; my $pid = open3($inh,$outh,$errh, $query); while (<$errh>) { |