about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/i386/init-first.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-09-05 15:00:54 +0000
committerRoland McGrath <roland@gnu.org>1998-09-05 15:00:54 +0000
commit2b4083dd7205359d5085e55f95a968449413d8fd (patch)
tree7646c0ea16209d14eabe77c8510a984969beb9c0 /sysdeps/mach/hurd/i386/init-first.c
parent531e4bca8ea2931051e9ba458e2f486ac56d712a (diff)
downloadglibc-2b4083dd7205359d5085e55f95a968449413d8fd.tar.gz
glibc-2b4083dd7205359d5085e55f95a968449413d8fd.tar.xz
glibc-2b4083dd7205359d5085e55f95a968449413d8fd.zip
1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
	* sysdeps/mach/hurd/i386/init-first.c (init1): Call
	__getopt_clean_environment with __environ instead of envp.

	* sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
Diffstat (limited to 'sysdeps/mach/hurd/i386/init-first.c')
-rw-r--r--sysdeps/mach/hurd/i386/init-first.c2
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 c90ae3d3fd..5bca3a6b09 100644
--- a/sysdeps/mach/hurd/i386/init-first.c
+++ b/sysdeps/mach/hurd/i386/init-first.c
@@ -113,7 +113,7 @@ init1 (int argc, char *arg0, ...)
   __libc_init (argc, argv, __environ);
 
   /* This is a hack to make the special getopt in GNU libc working.  */
-  __getopt_clean_environment (envp);
+  __getopt_clean_environment (__environ);
 
 #ifdef PIC
   __libc_global_ctors ();