summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-06-30 23:32:08 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-06-30 23:32:08 -0400
commit49514f39f64aec9c361f252d07de8d81d38fac9f (patch)
tree5db389f35c781689dc78392e156ed6d5181c51d0
parentb01ee9b3b33daa8d305017aa914913f3dac20ce5 (diff)
fix some messages
-rw-r--r--IkiWiki/Plugin/attachment.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/attachment.pm b/IkiWiki/Plugin/attachment.pm
index 186f3ea21..6168ea589 100644
--- a/IkiWiki/Plugin/attachment.pm
+++ b/IkiWiki/Plugin/attachment.pm
@@ -102,7 +102,7 @@ sub match_maxsize ($$;@) { #{{{
my %params=@_;
if (! exists $params{file}) {
- return IkiWiki::FailReason->new("no tempfile specified");
+ return IkiWiki::FailReason->new("no file specified");
}
if (-s $params{file} > $maxsize) {
@@ -122,7 +122,7 @@ sub match_minsize ($$;@) { #{{{
my %params=@_;
if (! exists $params{file}) {
- return IkiWiki::FailReason->new("no tempfile specified");
+ return IkiWiki::FailReason->new("no file specified");
}
if (-s $params{file} < $minsize) {