diff options
Diffstat (limited to 'libexec/ld.so/loader.c')
-rw-r--r-- | libexec/ld.so/loader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/loader.c b/libexec/ld.so/loader.c index 6b91934e082..042395519d1 100644 --- a/libexec/ld.so/loader.c +++ b/libexec/ld.so/loader.c @@ -1,4 +1,4 @@ -/* $OpenBSD: loader.c,v 1.121 2010/12/07 18:29:28 drahn Exp $ */ +/* $OpenBSD: loader.c,v 1.122 2011/04/06 11:36:25 miod Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -639,7 +639,7 @@ _dl_boot_bind(const long sp, long *dl_data, Elf_Dyn *dynamicp) argv = (char **)stack; envp = &argv[argc + 1]; stack = (long *)envp; - while (*stack++ != NULL) + while (*stack++ != 0L) ; /* |