summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/gen-types.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gen-types.sh b/tools/gen-types.sh
index 5dd408f..3d5f298 100755
--- a/tools/gen-types.sh
+++ b/tools/gen-types.sh
@@ -4,7 +4,7 @@ sysdeps="$1"
shift
getbits() {
- expr 8 '*' `grep -F sizeof$2: < "$1" | awk '{print $2;}'`
+ expr 8 '*' `grep -F sizeof$2: < "$1" | { read a b c ; echo "$b" ; }`
}
cat < src/headers/types-header