summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki')
-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) {