summaryrefslogtreecommitdiff
path: root/tools/patcheck
diff options
context:
space:
mode:
Diffstat (limited to 'tools/patcheck')
-rwxr-xr-xtools/patcheck2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patcheck b/tools/patcheck
index 4bb0236879..521138ae93 100755
--- a/tools/patcheck
+++ b/tools/patcheck
@@ -123,7 +123,7 @@ if test -e $TMP ; then
cat $TMP
fi
-grep '^Index:.*Changelog' $* >/dev/null || printf "\nMissing changelog entry (ignore if minor change)\n"
+grep '^+++ .*Changelog' $* >/dev/null || printf "\nMissing changelog entry (ignore if minor change)\n"
cat $* | tr '\n' '@' | egrep --color=always -o '(fprintf|av_log|printf)\([^)]*\)[+ ;@]*\1' >$TMP && printf "\nMergeable calls\n"
cat $TMP | tr '@' '\n'