From 996eb9ae88f39ad326adcfa07fa468af9b756cc6 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Fri, 27 Jun 2014 16:31:06 +0200 Subject: [PATCH] fix package usage --- 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 bcc8ec1..a79be99 100755 --- a/test/bin/bomb.pl +++ b/test/bin/bomb.pl @@ -42,7 +42,7 @@ die usage if !@system; # be ignored eval { require BSD::Resource; - setrlimit("RLIMIT_CPU", $timeout, 2*$timeout) or die "Cannot set CPU limit: $!\n"; + BSD::Resource::setrlimit("RLIMIT_CPU", $timeout, 2*$timeout) or die "Cannot set CPU limit: $!\n"; }; if ($@) { warn "Please install the package BSD::Resource!\n\n$@\n"; -- 1.7.10.4