mksysinfo: Fix type of last field of Cmsghdr.
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 3 Feb 2012 01:06:19 +0000 (01:06 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 3 Feb 2012 01:06:19 +0000 (01:06 +0000)
From-SVN: r183860

libgo/mksysinfo.sh

index bca814c..62296b8 100755 (executable)
@@ -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.