diff options
author | rillig <rillig@pkgsrc.org> | 2007-01-03 20:48:41 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-01-03 20:48:41 +0000 |
commit | d3e25da8946ff4ffbffe86091b00c88b26c1ab4f (patch) | |
tree | 525b01bc6d0154686f4e31cf8812fb612683570c /pkgtools | |
parent | 7f23cdadc47d97308851d5e4b6c77fc8b6456c3e (diff) | |
download | pkgsrc-d3e25da8946ff4ffbffe86091b00c88b26c1ab4f.tar.gz |
Fixed a little inconsistency (log_error/explain_warning).
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 4 |
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++; |