From: Samuel Thibault Date: Sun, 18 Mar 2018 19:49:26 +0000 (+0100) Subject: hurd: fix build X-Git-Tag: glibc-2.28~447 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e54554ca6231febd312f01d8be556c7443d4a955;p=thirdparty%2Fglibc.git hurd: fix build * sysdeps/mach/hurd/i386/init-first.c: Compare d->phdr with 0 instead of NULL. --- diff --git a/sysdeps/mach/hurd/i386/init-first.c b/sysdeps/mach/hurd/i386/init-first.c index 226de02a99e..e272e329ad2 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),