From 41c1847d205273f1dd1c624d483296f7be73e428 Mon Sep 17 00:00:00 2001 From: espie Date: Wed, 11 Jul 2018 09:57:59 +0000 Subject: [PATCH] allow default from state --- usr.sbin/pkg_add/pkg_mklocatedb | 4 ++-- 1 file 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 -# $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); -- 2.20.1