eBPF-based security platform
ci: fix awk printf syntax on macOS
Andrea Lattuada3a6a378ee4bf
diff --git a/.github/scripts/check-style.sh b/.github/scripts/check-style.shindex 778bd660..fd15c008 100755--- a/.github/scripts/check-style.sh+++ b/.github/scripts/check-style.sh@@ -257,7 +257,7 @@ check_spellings() {bits = typegsub(/[^0-9]/, "", bits)printf "ERROR:KERNEL_INT_TYPES: spell %s as %s%s, from <shirudo/misc.h> in userspace\n#%d: FILE: %s:%d:\n%s\n\n",- type, substr(type, 1, 1) == "u" ? "__u" : "__s", bits,+ type, (substr(type, 1, 1) == "u" ? "__u" : "__s"), bits,NR, file, line, $0bad = 1} else if (!c_names_kept(file) &&