From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9240 invoked by alias); 18 Mar 2018 19:50: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 9229 invoked by uid 89); 18 Mar 2018 19:50:00 -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=H*r:sk:static-, Hx-spam-relays-external:sk:static-, H*RU:sk:static- X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited] hurd: fix build Date: Sun, 18 Mar 2018 19:50:00 -0000 Message-Id: <20180318194954.12862-1-samuel.thibault@ens-lyon.org> X-SW-Source: 2018-03/txt/msg00441.txt.bz2 * sysdeps/mach/hurd/i386/init-first.c: Compare d->phdr with 0 instead of NULL. --- sysdeps/mach/hurd/i386/init-first.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/mach/hurd/i386/init-first.c b/sysdeps/mach/hurd/i386/init-first.c index 226de02a99..e272e329ad 100644 --- a/sysdeps/mach/hurd/i386/init-first.c +++ b/sysdeps/mach/hurd/i386/init-first.c @@ -107,7 +107,7 @@ init1 (int argc, char *arg0, ...) /* If we are the bootstrap task started by the kernel, then after the environment pointers there is no Hurd data block; the argument strings start there. */ - if ((void *) d == argv[0] || d->phdr == NULL) + if ((void *) d == argv[0] || d->phdr == 0) { #ifndef SHARED /* With a new enough linker (binutils-2.23 or better), -- 2.16.2