summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-01-03 20:48:41 +0000
committerrillig <rillig@pkgsrc.org>2007-01-03 20:48:41 +0000
commitd3e25da8946ff4ffbffe86091b00c88b26c1ab4f (patch)
tree525b01bc6d0154686f4e31cf8812fb612683570c /pkgtools
parent7f23cdadc47d97308851d5e4b6c77fc8b6456c3e (diff)
downloadpkgsrc-d3e25da8946ff4ffbffe86091b00c88b26c1ab4f.tar.gz
Fixed a little inconsistency (log_error/explain_warning).
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index b1464068df0..495c9cca4db 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.690 2007/01/02 23:01:24 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.691 2007/01/03 20:48:41 rillig Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -6980,7 +6980,7 @@ sub checkfile_patch($) {
$check_text->($line->text);
if ($line->text =~ qr"\r$") {
$line->log_error("The hunk header must not end with a CR character.");
- $line->explain_warning(
+ $line->explain_error(
"The MacOS X patch utility cannot handle these.");
}
$hunks++;