From 3c0d508ffaeaaa97d25f57cef39d552644e9afb1 Mon Sep 17 00:00:00 2001 From: espie Date: Wed, 28 Jul 2010 15:05:33 +0000 Subject: [PATCH] let fatal work, fix typo --- usr.sbin/pkg_add/OpenBSD/Ustar.pm | 7 +++---- 1 file 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 # @@ -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; } -- 2.20.1