diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2006-03-29 21:45:17 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2006-03-29 21:45:17 +0000 |
commit | 9e443adbaf40e9b0f5dd7593c5021605f0f129a7 (patch) | |
tree | 9d8676ac7a26f8f82573e3294f8c2c9b46289448 /newlib | |
parent | e47e7d6b02cfeabad4fe9a88b41b5edde6bc111b (diff) | |
download | cygnal-9e443adbaf40e9b0f5dd7593c5021605f0f129a7.tar.gz cygnal-9e443adbaf40e9b0f5dd7593c5021605f0f129a7.tar.bz2 cygnal-9e443adbaf40e9b0f5dd7593c5021605f0f129a7.zip |
2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/net/name6.c: Fix struct references.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/sys/linux/net/name6.c | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 3a5d0d662..bd3012cd3 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2006-03-29 Jeff Johnston <jjohnstn@redhat.com> + + * libc/sys/linux/net/name6.c: Fix struct references. + 2006-03-22 Mark Mitchell <mark@codesourcery.com> * configure.host: Allow hosts to set the default diff --git a/newlib/libc/sys/linux/net/name6.c b/newlib/libc/sys/linux/net/name6.c index 80037e8f9..f220e213c 100644 --- a/newlib/libc/sys/linux/net/name6.c +++ b/newlib/libc/sys/linux/net/name6.c @@ -1499,16 +1499,16 @@ _dns_ghbyname(void *rval, void *cb_data, va_list ap) #ifdef INET6 switch (af) { case AF_UNSPEC: - &rtl4->rtl_entry = NULL; rtl4.rtl_type = T_A; - &rtl6->rtl_entry = &rtl4; rtl6.rtl_type = T_AAAA; + rtl4.rtl_entry = NULL; rtl4.rtl_type = T_A; + rtl6.rtl_entry = &rtl4; rtl6.rtl_type = T_AAAA; rtl = &rtl6; break; case AF_INET6: - &rtl6->rtl_entry = NULL; rtl6.rtl_type = T_AAAA; + rtl6.rtl_entry = NULL; rtl6.rtl_type = T_AAAA; rtl = &rtl6; break; case AF_INET: - &rtl4->rtl_entry = NULL; rtl4.rtl_type = T_A; + rtl4.rtl_entry = NULL; rtl4.rtl_type = T_A; rtl = &rtl4; break; } |