diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2010-06-18 10:55:59 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2010-06-18 10:55:59 +0000 |
commit | 83c48523599381ba9d550fe284d119d41c760b51 (patch) | |
tree | eb03320501ada6ff685bcfd163981b30042adcdb | |
parent | 231697c6e9520d5c6a7470483f7147cd5568bfda (diff) |
whitespace
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/AddDelete.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/AddDelete.pm b/usr.sbin/pkg_add/OpenBSD/AddDelete.pm index 3f8f03991dc..d9e2a78b6c2 100644 --- a/usr.sbin/pkg_add/OpenBSD/AddDelete.pm +++ b/usr.sbin/pkg_add/OpenBSD/AddDelete.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: AddDelete.pm,v 1.26 2010/06/15 08:26:39 espie Exp $ +# $OpenBSD: AddDelete.pm,v 1.27 2010/06/18 10:55:58 espie Exp $ # # Copyright (c) 2007-2010 Marc Espie <espie@openbsd.org> # @@ -227,7 +227,7 @@ sub check_root my $state = shift; if ($< && !$state->defines('nonroot')) { if ($state->{not}) { - $state->errsay("#1 should be run as root", + $state->errsay("#1 should be run as root", $state->{cmd}) if $state->verbose; } else { $state->fatal("#1 must be run as root", $state->{cmd}); @@ -254,7 +254,7 @@ sub choose_location my $result = $state->ask_list("Ambiguous: choose package for $name", 1, sort keys %h); return $h{$result}; } else { - $state->errsay("Ambiguous: #1 could be #2", + $state->errsay("Ambiguous: #1 could be #2", $name, join(' ', keys %h)); return undef; } |