diff options
author | Tobias Oetiker <tobi@oetiker.ch> | 2011-10-21 14:24:40 +0200 |
---|---|---|
committer | Tobias Oetiker <tobi@oetiker.ch> | 2011-10-21 14:24:40 +0200 |
commit | c2907861471223bc08c2d68ea3ac7f0e8cf6b179 (patch) | |
tree | 3c9b3ebaee5d103a3c1c94338bd2d957b114cb77 /lib/Smokeping | |
parent | c6f817fcb7e49495de647e43729c910223468ba7 (diff) | |
download | smokeping-c2907861471223bc08c2d68ea3ac7f0e8cf6b179.tar.gz smokeping-c2907861471223bc08c2d68ea3ac7f0e8cf6b179.tar.xz |
one more naked gettimeofday eliminated
Diffstat (limited to 'lib/Smokeping')
-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>) { |