diff options
Diffstat (limited to 'usr/src/uts/common/os/exec.c')
-rw-r--r-- | usr/src/uts/common/os/exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/common/os/exec.c b/usr/src/uts/common/os/exec.c index 53c552f135..f51e2c5ca1 100644 --- a/usr/src/uts/common/os/exec.c +++ b/usr/src/uts/common/os/exec.c @@ -356,7 +356,7 @@ exec_common(const char *fname, const char **argp, const char **envp, */ up->u_acflag &= ~AFORK; bcopy(exec_file, up->u_comm, MAXCOMLEN+1); - curthread->t_predcache = NULL; + curthread->t_predcache = 0; /* * Clear contract template state @@ -1664,7 +1664,7 @@ stk_copyin(execa_t *uap, uarg_t *args, intpdata_t *intp, void **auxvpp) if (args->scrubenv && strncmp(tmp, "LD_", 3) == 0) { /* Undo the copied string */ args->stk_strp = tmp; - *(args->stk_offp++) = NULL; + *(args->stk_offp++) = 0; } envp += ptrsize; } |