From 66ef9fc0b0eac03226c5a5b72c4be9056598595d Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 17 Feb 2023 14:41:13 +0000 Subject: version: 2.13.1.0 Signed-off-by: Laurent Bercot --- tools/gen-types.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3