]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
mksysinfo: Fix type of last field of Cmsghdr.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Feb 2012 01:06:19 +0000 (01:06 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Feb 2012 01:06:19 +0000 (01:06 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183860 138bc75d-0d04-0410-961f-82ee72b054a4

libgo/mksysinfo.sh

index bca814c65be97fd042fdd101ed093fed655da20a..62296b8af2f93dd03634134eb3446379688b53f7 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.