From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 82712 invoked by alias); 4 Apr 2018 00:32:01 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 82401 invoked by uid 89); 4 Apr 2018 00:32:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_HELO_PASS,SPF_NEUTRAL autolearn=ham version=3.3.2 spammy= X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited] hurd: Fix typo Date: Wed, 04 Apr 2018 00:32:00 -0000 Message-Id: <20180404003152.7602-1-samuel.thibault@ens-lyon.org> X-SW-Source: 2018-04/txt/msg00102.txt.bz2 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Fix typo in IFNAMSIZ. --- sysdeps/mach/hurd/if_index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.16.2