From 0360c45d9be87b9a5de497933fb316752868bab9 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Fri, 27 Jun 2014 11:43:09 +0200 Subject: [PATCH] perl warnings --- test/bin/bomb.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/bin/bomb.pl b/test/bin/bomb.pl index 4ce8590..9e0f06b 100755 --- a/test/bin/bomb.pl +++ b/test/bin/bomb.pl @@ -41,7 +41,7 @@ die usage if !@system; # set CPU limit, in case the alarm handler will # be ignored -setrlimit(RLIMIT_CPU, $timeout, 2*$timeout) or die "Cannot set CPU limit: $!\n"; +setrlimit("RLIMIT_CPU", $timeout, 2*$timeout) or die "Cannot set CPU limit: $!\n"; # # use fork/exec instead system() -- 1.7.10.4