diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-18 20:49:26 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-18 20:49:26 +0100 |
commit | e54554ca6231febd312f01d8be556c7443d4a955 (patch) | |
tree | dc414761f2277acdc2ec5d9712e4758f47a74b76 /sysdeps/mach/hurd/i386 | |
parent | 72e7ffc37fd59e093eb6352c9e0abde2112a9346 (diff) | |
download | glibc-e54554ca6231febd312f01d8be556c7443d4a955.tar glibc-e54554ca6231febd312f01d8be556c7443d4a955.tar.gz glibc-e54554ca6231febd312f01d8be556c7443d4a955.tar.bz2 glibc-e54554ca6231febd312f01d8be556c7443d4a955.zip |
hurd: fix build
* sysdeps/mach/hurd/i386/init-first.c: Compare d->phdr with 0 instead of
NULL.
Diffstat (limited to 'sysdeps/mach/hurd/i386')
-rw-r--r-- | sysdeps/mach/hurd/i386/init-first.c | 2 |
1 files changed, 1 insertions, 1 deletions
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), |