diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-04-04 02:31:23 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-04-04 02:31:23 +0200 |
commit | 397f5789da6258ed59db1a238b6623f6f3b085d2 (patch) | |
tree | 15ad1be330bb0b9c389c9d6ce0ae568ffe69c4a1 /sysdeps/mach | |
parent | d8440a21472a8053a8d0795b1f01b03d53648a0e (diff) | |
download | glibc-397f5789da6258ed59db1a238b6623f6f3b085d2.tar.gz glibc-397f5789da6258ed59db1a238b6623f6f3b085d2.tar.xz glibc-397f5789da6258ed59db1a238b6623f6f3b085d2.zip |
hurd: Fix typo
* sysdeps/mach/hurd/if_index.c (__if_nametoindex): Fix typo in IFNAMSIZ.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/hurd/if_index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/if_index.c b/sysdeps/mach/hurd/if_index.c index de859ebc7c..4303c938a8 100644 --- a/sysdeps/mach/hurd/if_index.c +++ b/sysdeps/mach/hurd/if_index.c @@ -43,7 +43,7 @@ __if_nametoindex (const char *ifname) return 0; } - strncpy (ifr.ifr_name, ifname, IFNAMESIZ); + strncpy (ifr.ifr_name, ifname, IFNAMSIZ); if (__ioctl (fd, SIOCGIFINDEX, &ifr) < 0) { int saved_errno = errno; |