summary refs log tree commit diff
path: root/support
diff options
context:
space:
mode:
Diffstat (limited to 'support')
-rw-r--r--support/support_test_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/support_test_main.c b/support/support_test_main.c
index 72771bf101..e185281eaf 100644
--- a/support/support_test_main.c
+++ b/support/support_test_main.c
@@ -338,7 +338,7 @@ support_test_main (int argc, char **argv, const struct test_config *config)
 
   /* Set timeout.  */
   signal (SIGALRM, signal_handler);
-  alarm (config->timeout * timeoutfactor);
+  alarm (timeout * timeoutfactor);
 
   /* Make sure we clean up if the wrapper gets interrupted.  */
   signal (SIGINT, signal_handler);