From patchwork Wed Apr 4 00:31:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 894831 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-91407-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="AufO8G8e"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40G6NR26LDz9s0p for ; Wed, 4 Apr 2018 10:32:07 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; q=dns; s= default; b=gDQVYpapHMM6R9x0CS5/4u2Kqp91+p6F7aEi/BE0BUZ7kgpSC2DQl cNyCa8OQMP7KDlAUsghO2ZatXL1tjjypuXYie2oQVqR8xhGczuzYuD1ZKmtD5djC EuIuUwPFg9vJD4ceFS3KfDo/ugFxHNP/nw/i6CCYI/UpAGjwetIc9I= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; s=default; bh=TFjfk+cn6ZCZWSOgQJHbrMD7Jg4=; b=AufO8G8epxpZK63+c4u9bKFtp/9r 0S/Z5t+3DtayKbLZMVCGWYrmUU4yYxhpwlUz7cx6R3s2KClHx+GeDp2Z+yt4IG/e W1SkMtimAQEnCIlLQCbrb/LwZife78ir+1IXwBg5whY6lU8nN41iCReIHIX1laIL m+saMVWb8fs9i8c= 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-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@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, 4 Apr 2018 02:31:52 +0200 Message-Id: <20180404003152.7602-1-samuel.thibault@ens-lyon.org> * 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;