aboutsummaryrefslogtreecommitdiff
path: root/aux/assert-clang-format.sh
diff options
context:
space:
mode:
Diffstat (limited to 'aux/assert-clang-format.sh')
-rwxr-xr-xaux/assert-clang-format.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/aux/assert-clang-format.sh b/aux/assert-clang-format.sh
index c7ee6d7..17931de 100755
--- a/aux/assert-clang-format.sh
+++ b/aux/assert-clang-format.sh
@@ -7,7 +7,7 @@ if [ "${1:-}" = '--fix-in-place' ]; then
fi
# shellcheck disable=2016
-find . -type f \( -name '*.h' -o -name '*.c' \) -print0 | xargs -0 -I{} sh -c '
+find . -type f \( -name '*.h' -o -name '*.c' \) | xargs -I{} sh -c '
clang-format "$1" | diff - "$1" || {
echo "Unformatted C code. To fix it, run:"
echo " ./aux/assert-clang-format.sh --fix-in-place"