summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2014-02-01 18:54:02 +0000
committerMarc Espie <espie@cvs.openbsd.org>2014-02-01 18:54:02 +0000
commite17bfe28e1505678c940047e0cf2d381fe5fc574 (patch)
treeeb82b80585310e6a068b4f11c79df3e5de2bb452 /usr.sbin
parentea7dc50671c1f9f0237a2e2604231dcba3fda9b6 (diff)
style
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/UpdateSet.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/UpdateSet.pm b/usr.sbin/pkg_add/OpenBSD/UpdateSet.pm
index 88f3b2606f8..676993ba593 100644
--- a/usr.sbin/pkg_add/OpenBSD/UpdateSet.pm
+++ b/usr.sbin/pkg_add/OpenBSD/UpdateSet.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: UpdateSet.pm,v 1.72 2014/01/31 11:54:24 espie Exp $
+# $OpenBSD: UpdateSet.pm,v 1.73 2014/02/01 18:54:01 espie Exp $
#
# Copyright (c) 2007-2010 Marc Espie <espie@openbsd.org>
#
@@ -255,9 +255,9 @@ sub move_kept
{
my $self = shift;
for my $h (@_) {
- delete $self->{older}->{$h->pkgname};
- delete $self->{newer}->{$h->pkgname};
- $self->{kept}->{$h->pkgname} = $h;
+ delete $self->{older}{$h->pkgname};
+ delete $self->{newer}{$h->pkgname};
+ $self->{kept}{$h->pkgname} = $h;
}
return $self;
}