summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig>2007-01-03 20:48:41 +0000
committerrillig <rillig>2007-01-03 20:48:41 +0000
commit83946a234ffc947a6143f124ac5479e12187d93d (patch)
tree525b01bc6d0154686f4e31cf8812fb612683570c /pkgtools
parent04f6f621774a67b96cb8c1b664096d26d80e210b (diff)
downloadpkgsrc-83946a234ffc947a6143f124ac5479e12187d93d.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++;