hurd: fix build

* sysdeps/mach/hurd/i386/init-first.c: Compare d->phdr with 0 instead of
NULL.
This commit is contained in:
Samuel Thibault 2018-03-18 20:49:26 +01:00
parent 72e7ffc37f
commit e54554ca62

View File

@ -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),