summaryrefslogtreecommitdiffstats
path: root/urpmf
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-06-05 14:51:02 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-06-05 14:51:02 +0000
commita27be09e5345f0be3fbe7cf2570c087d4a92cd32 (patch)
treeed7724ae3132fc00b7d29dec2df64cbbd80dc26c /urpmf
parent494e132262dc7c0a161b4e3df5765f293d483574 (diff)
downloadurpmi-a27be09e5345f0be3fbe7cf2570c087d4a92cd32.tar
urpmi-a27be09e5345f0be3fbe7cf2570c087d4a92cd32.tar.gz
urpmi-a27be09e5345f0be3fbe7cf2570c087d4a92cd32.tar.bz2
urpmi-a27be09e5345f0be3fbe7cf2570c087d4a92cd32.tar.xz
urpmi-a27be09e5345f0be3fbe7cf2570c087d4a92cd32.zip
$urpm->{fatal} expects 2 arguments
Diffstat (limited to 'urpmf')
-rwxr-xr-xurpmf2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmf b/urpmf
index 31fb499d..b40ff2aa 100755
--- a/urpmf
+++ b/urpmf
@@ -332,7 +332,7 @@ if ($needed_media_info{hdlist}) {
if (m!^<!) {
($fn) = /fn="(.*)"/;
} elsif (%s) {
- $fn or $urpm->{fatal}("fast algorithm is broken, please report a bug");
+ $fn or $urpm->{fatal}(1, "fast algorithm is broken, please report a bug");
my $pkg = urpm::xml_info_pkg->new({ fn => $fn });
print $pkg->name, ':', $_;
}