diff --git a/libgo/mksysinfo.sh b/libgo/mksysinfo.sh index bca814c65be..62296b8af2f 100755 --- a/libgo/mksysinfo.sh +++ b/libgo/mksysinfo.sh @@ -507,6 +507,7 @@ if test -n "$cmsghdr"; then -e 's/cmsg_len *[a-zA-Z0-9_]*/Len Cmsghdr_len_t/' \ -e 's/cmsg_level/Level/' \ -e 's/cmsg_type/Type/' \ + -e 's/\[\]/[0]/' \ >> ${OUT} # The size of the cmsghdr struct.