From: Alexander Monakov <amonakov@ispras.ru>
To: musl@lists.openwall.com
Subject: Re: [PATCH] fix type for ifc_ifcu.ifcu_buf field of struct ifconf
Date: Thu, 15 Sep 2016 23:25:45 +0300 (MSK) [thread overview]
Message-ID: <alpine.LNX.2.20.13.1609152324210.30232@monopod.intra.ispras.ru> (raw)
In-Reply-To: <20160915152731.4897-2-dsabogalcc@gmail.com>
On Thu, 15 Sep 2016, Daniel Sabogal wrote:
> linux, glibc, freebsd, and openbsd use a character pointer for this field
> --- a/include/net/if.h
> +++ b/include/net/if.h
> @@ -116,7 +116,7 @@ struct ifreq {
> struct ifconf {
> int ifc_len;
> union {
> - void *ifcu_buf;
> + char *ifcu_buf;
Declaration of 'ifru_data' in that header has the same issue.
Thanks.
Alexander
next prev parent reply other threads:[~2016-09-15 20:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-15 15:27 [PATCH] fix if_indextoname error case Daniel Sabogal
2016-09-15 15:27 ` [PATCH] fix type for ifc_ifcu.ifcu_buf field of struct ifconf Daniel Sabogal
2016-09-15 20:25 ` Alexander Monakov [this message]
2016-09-15 21:42 ` Daniel Sabogal
2016-09-16 8:12 ` Alexander Monakov
2016-09-16 14:57 ` Rich Felker
2016-09-16 22:03 ` [PATCH] fix if_indextoname error case Rich Felker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LNX.2.20.13.1609152324210.30232@monopod.intra.ispras.ru \
--to=amonakov@ispras.ru \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).