summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-04-22 11:57:19 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-04-22 11:57:19 +0000
commitdef7c62c9b4b11a88927b336930b655c2067ba3b (patch)
tree8ff92041b9ca74132d81922544478b9c892f7baa /usr.sbin/pkg_add
parentc89adbd83d661145eab935e733181aecd7213d59 (diff)
typo
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/pkg_mklocatedb4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_mklocatedb b/usr.sbin/pkg_add/pkg_mklocatedb
index 81760d32245..09ec15d824f 100644
--- a/usr.sbin/pkg_add/pkg_mklocatedb
+++ b/usr.sbin/pkg_add/pkg_mklocatedb
@@ -1,6 +1,6 @@
#! /usr/bin/perl
# Copyright (c) 2005-2010 Marc Espie <espie@openbsd.org>
-# $OpenBSD: pkg_mklocatedb,v 1.31 2012/04/22 11:38:54 espie Exp $
+# $OpenBSD: pkg_mklocatedb,v 1.32 2012/04/22 11:57:18 espie Exp $
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
@@ -77,13 +77,13 @@ sub print_name
}
package OpenBSD::PackingElement::DirBase;
-package main;
sub print_name
{
my ($self, $state) = @_;
print {$state->{out}} $state->{currentheader}, $self->fullname, "/\n";
}
+package main;
sub tag
{
my ($state, $dir, $set, $rev) = @_;