summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-07-28 15:05:34 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-07-28 15:05:34 +0000
commitcf35faa6688aa2679df96d2eb9611a6b34776e06 (patch)
treeb4b888f7591bd8fb29b72613e68456253f244ec6
parent4bcbe800670e0a22eb48e4611d5e703e01fb5a21 (diff)
let fatal work, fix typo
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Ustar.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Ustar.pm b/usr.sbin/pkg_add/OpenBSD/Ustar.pm
index 6abf41bb0e6..bad5c35756c 100644
--- a/usr.sbin/pkg_add/OpenBSD/Ustar.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Ustar.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Ustar.pm,v 1.61 2010/07/28 12:19:54 espie Exp $
+# $OpenBSD: Ustar.pm,v 1.62 2010/07/28 15:05:33 espie Exp $
#
# Copyright (c) 2002-2007 Marc Espie <espie@openbsd.org>
#
@@ -69,7 +69,7 @@ sub new
sub fatal
{
- my ($self, $msg, @args) = $_;
+ my ($self, $msg, @args) = @_;
$self->{state}->fatal("Ustar: $msg", @args);
}
@@ -360,8 +360,7 @@ sub new
bless $object, $class;
if ($object->{size} != 0) {
- $object->fatal("Bad archive: non null size for #1",
- $class );
+ $object->fatal("Bad archive: non null size for #1", $class);
}
return $object;
}