projects
/
platform
/
upstream
/
linaro-glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33ebea1
)
2003-12-20 Roland McGrath <roland@frob.com>
author
Roland McGrath
<roland@gnu.org>
Mon, 22 Dec 2003 06:19:22 +0000
(06:19 +0000)
committer
Roland McGrath
<roland@gnu.org>
Mon, 22 Dec 2003 06:19:22 +0000
(06:19 +0000)
* sysdeps/generic/ifreq.c (__ifreq) [_HAVE_SA_LEN]: Fix typo:
add missing dereference of IFREQS before counting loop.
sysdeps/generic/ifreq.c
patch
|
blob
|
history
diff --git
a/sysdeps/generic/ifreq.c
b/sysdeps/generic/ifreq.c
index
be7c03c
..
da4db19
100644
(file)
--- 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)
{