perl warnings
authorWolfram Schneider <wosch@indexdata.dk>
Fri, 27 Jun 2014 09:43:09 +0000 (11:43 +0200)
committerWolfram Schneider <wosch@indexdata.dk>
Fri, 27 Jun 2014 09:43:09 +0000 (11:43 +0200)
test/bin/bomb.pl

index 4ce8590..9e0f06b 100755 (executable)
@@ -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()