From c2907861471223bc08c2d68ea3ac7f0e8cf6b179 Mon Sep 17 00:00:00 2001 From: Tobias Oetiker Date: Fri, 21 Oct 2011 14:24:40 +0200 Subject: one more naked gettimeofday eliminated --- lib/Smokeping/probes/SSH.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>) { -- cgit v1.2.3-24-g4f1b