summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2018-07-11 09:58:00 +0000
committerMarc Espie <espie@cvs.openbsd.org>2018-07-11 09:58:00 +0000
commit6ea611effa2caf0fbdfc74c89bcd348116d42d3f (patch)
tree95a0b6b99206b8a1e5aca01fbf376a36bd9e9f82 /usr.sbin
parentd48e38e509cde46160d5f39a40fd328f860a3356 (diff)
allow default from state
Diffstat (limited to 'usr.sbin')
-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 e22bd51a10c..295b48237fa 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.44 2018/06/25 17:00:46 espie Exp $
+# $OpenBSD: pkg_mklocatedb,v 1.45 2018/07/11 09:57:59 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
@@ -207,7 +207,7 @@ sub copy_stdin
}
}
-my $state = OpenBSD::Pkgmklocatedb::State->new("pkg_mklocatedb");
+my $state = OpenBSD::Pkgmklocatedb::State->new;
$state->handle_options;
open_output($state);