summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping/probes/SSH.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Smokeping/probes/SSH.pm')
-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>) {