summaryrefslogtreecommitdiff
path: root/tools/check-syntax
diff options
context:
space:
mode:
authorPaul Moore <pmoore@redhat.com>2014-06-24 13:05:34 -0400
committerPaul Moore <pmoore@redhat.com>2014-06-24 13:05:34 -0400
commit7ef006ce62ba385880d5fe7f71534ad8d48273c9 (patch)
treeae3eca24681b40c5f7e664486896dac8c52ec812 /tools/check-syntax
parent64152018ffdf971efefd84466db4a92002bb8b15 (diff)
downloadlibseccomp-7ef006ce62ba385880d5fe7f71534ad8d48273c9.tar.gz
tools: better check-syntax output
Change the check-syntax output so that the output can be more easily fed back into patch. Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'tools/check-syntax')
-rwxr-xr-xtools/check-syntax2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/check-syntax b/tools/check-syntax
index f356a46..aebdf50 100755
--- a/tools/check-syntax
+++ b/tools/check-syntax
@@ -78,7 +78,7 @@ function tool_c_style() {
--align-reference=name \
--max-code-length=80 \
--break-after-logical < "$1" \
- | diff -pu --label="$1" "$1" --label="$1 [CORRECTED]" -
+ | diff -pu --label="$1.orig" "$1" --label="$1" -
}
#