diff options
author | Roland McGrath <roland@gnu.org> | 2003-12-22 06:19:22 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-12-22 06:19:22 +0000 |
commit | 83a93ac66e30eb5e34a4ad0ea84ddcc87d1b9253 (patch) | |
tree | 380bda3e21a9aafb727f3fced952f1558126a82a /sysdeps/generic/ifreq.c | |
parent | 33ebea17843acb1871bb4d6a71e7c7c0bbd60e35 (diff) | |
download | glibc-83a93ac66e30eb5e34a4ad0ea84ddcc87d1b9253.tar.gz glibc-83a93ac66e30eb5e34a4ad0ea84ddcc87d1b9253.tar.xz glibc-83a93ac66e30eb5e34a4ad0ea84ddcc87d1b9253.zip |
2003-12-20 Roland McGrath <roland@frob.com>
* sysdeps/generic/ifreq.c (__ifreq) [_HAVE_SA_LEN]: Fix typo: add missing dereference of IFREQS before counting loop.
Diffstat (limited to 'sysdeps/generic/ifreq.c')
-rw-r--r-- | sysdeps/generic/ifreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/ifreq.c b/sysdeps/generic/ifreq.c index be7c03cf08..da4db19e6f 100644 --- a/sysdeps/generic/ifreq.c +++ b/sysdeps/generic/ifreq.c @@ -62,7 +62,7 @@ __ifreq (struct ifreq **ifreqs, int *num_ifs, int sockfd) __close (fd); #ifdef _HAVE_SA_LEN - struct ifreq *ifr = ifreqs; + struct ifreq *ifr = *ifreqs; nifs = 0; while ((char *) ifr < ifc.ifc_buf + ifc.ifc_len) { |