From patchwork Sat Sep 3 00:02:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roland McGrath X-Patchwork-Id: 665362 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 3sQx5c1TPVz9sBR for ; Sat, 3 Sep 2016 10:03:00 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b=k5ckoDMu; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:from:to:subject:message-id:date; q= dns; s=default; b=foxbZvi4hMOBSDIZea2xqo9rYDqsDLlJH1zCi26OyQ+HH1 5ycrhCrNMararKzCkwYArFecF3F8giOZIhOhY/NUhEzv7hLJe2reFCQR3UxazsEH mODaMfpgnIdyxiUeBddj2Tyd/IZlzAdif8LOcQhkFORxqx+VVKvIPCdZtLnKM= 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:mime-version:content-type :content-transfer-encoding:from:to:subject:message-id:date; s= default; bh=th+IeR5gQ6JXQZO+c/Arhe+fAX0=; b=k5ckoDMuQP7TXFxlEafY AXMkzhh1GCD2C5l8yAv2vNR8Nbd3lmty8NrCs6doQfyj7dVOLbrO4s+13kNwceOv NIeOOXVDrtIRS6BnbTPiY4ol09uAbESB4ZmDCrQwxP1vvjAATF3Tie4d6Vral/6f TK9s6NM6Cz+bOUXxAZiRgCI= Received: (qmail 35078 invoked by alias); 3 Sep 2016 00:02:48 -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 34992 invoked by uid 89); 3 Sep 2016 00:02:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=BAYES_50, KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=enosys, ENOSYS, pid_t, weak_alias X-HELO: topped-with-meat.com MIME-Version: 1.0 From: Roland McGrath To: "GNU C. Library" Subject: [COMMITTED PATCH] NaCl: Fix compile error for __dup after libc_hidden_proto addition. Message-Id: <20160903000245.5907D2C3A24@topped-with-meat.com> Date: Fri, 2 Sep 2016 17:02:45 -0700 (PDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=Tvt12lnh c=1 sm=1 tr=0 a=WkljmVdYkabdwxfqvArNOQ==:117 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=MxTaAjXblxF42BLsOD0A:9 a=CjuIK1q_8ugA:10 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's not any more. diff --git a/sysdeps/posix/wait3.c b/sysdeps/posix/wait3.c index cf43d97..73722d2 100644 --- a/sysdeps/posix/wait3.c +++ b/sysdeps/posix/wait3.c @@ -33,7 +33,7 @@ __wait3 (int *stat_loc, int options, struct rusage *usage) __set_errno (ENOSYS); return (pid_t) -1; } - return __waitpid (WAIT_ANY, stat_loc.__iptr, options); + return __waitpid (WAIT_ANY, stat_loc, options); } weak_alias (__wait3, wait3)