about summary refs log tree commit diff
path: root/posix/getopt_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/getopt_init.c')
-rw-r--r--posix/getopt_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/getopt_init.c b/posix/getopt_init.c
index 02165ee733..6619f2522b 100644
--- a/posix/getopt_init.c
+++ b/posix/getopt_init.c
@@ -53,7 +53,7 @@ __getopt_clean_environment (char **env)
 
   /* Generate name of the environment variable.  We must know the PID
      and we must not use `sprintf'.  */
-  if (__libc_pid == 0)
+  if (__libc_pid == 0xf00baa)
     __libc_pid = getpid ();
 
   /* Construct "_<PID>_GNU_nonoption_argv_flags_=" string.  */