diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2017-03-11 12:28:31 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2017-03-11 12:28:31 +0000 |
commit | 056760686abb9e0d0bfddc03547f7bc1979d3643 (patch) | |
tree | c19ba6022c12d150139588023d264562c0b34aba /usr.sbin/pkg_add | |
parent | a89ee65d966542a3b812d2223ff7bf2a31b01baa (diff) |
compute_digest already clones object's class, no need to ref here.
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PkgCheck.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm b/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm index d3d74b6cd00..d5964251e28 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgCheck.pm,v 1.62 2016/08/26 18:19:21 espie Exp $ +# $OpenBSD: PkgCheck.pm,v 1.63 2017/03/11 12:28:30 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org> # @@ -139,7 +139,7 @@ sub thorough_check $state->log("no checksum for #1", $name); return; } - my $d = $self->compute_digest($name, ref($self->{d})); + my $d = $self->compute_digest($name, $self->{d}); if (!$d->equals($self->{d})) { $state->log("checksum for #1 does not match", $name); } |