summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTobias Oetiker <tobi@oetiker.ch>2011-10-21 14:24:40 +0200
committerTobias Oetiker <tobi@oetiker.ch>2011-10-21 14:24:40 +0200
commitc2907861471223bc08c2d68ea3ac7f0e8cf6b179 (patch)
tree3c9b3ebaee5d103a3c1c94338bd2d957b114cb77 /lib
parentc6f817fcb7e49495de647e43729c910223468ba7 (diff)
downloadsmokeping-c2907861471223bc08c2d68ea3ac7f0e8cf6b179.tar.gz
smokeping-c2907861471223bc08c2d68ea3ac7f0e8cf6b179.tar.xz
one more naked gettimeofday eliminated
Diffstat (limited to 'lib')
-rw-r--r--lib/Smokeping/probes/SSH.pm2
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>) {