improve diagnostics
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 22 Sep 2007 18:10:40 +0000 (18:10 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 22 Sep 2007 18:10:40 +0000 (18:10 +0000)
IkiWiki.pm

index 1c15e9299bd0774255b89eaf080b79e54af1a481..0b9790d8a15078f242e21db3ab80e14084eab09d 100644 (file)
@@ -1223,7 +1223,7 @@ sub match_link ($$;@) { #{{{
                                if $bestlink eq IkiWiki::bestlink($page, $p);
                }
                else {
-                       return IkiWiki::SuccessReason->new("$page links to page matching $link")
+                       return IkiWiki::SuccessReason->new("$page links to page $p matching $link")
                                if match_glob($p, $link, %params);
                }
        }