aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2012-02-03 01:06:19 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-02-03 01:06:19 +0000
commitcf54a93ca9e19864126abefd6649525a9dc23d51 (patch)
tree916f86bf8c421128a0796c207c38525d1549ad85 /libgo
parent1841202b90ac886846f2f73861d25d93662cc5aa (diff)
downloadgcc-cf54a93ca9e19864126abefd6649525a9dc23d51.zip
gcc-cf54a93ca9e19864126abefd6649525a9dc23d51.tar.gz
gcc-cf54a93ca9e19864126abefd6649525a9dc23d51.tar.bz2
mksysinfo: Fix type of last field of Cmsghdr.
From-SVN: r183860
Diffstat (limited to 'libgo')
-rwxr-xr-xlibgo/mksysinfo.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgo/mksysinfo.sh b/libgo/mksysinfo.sh
index bca814c..62296b8 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.