diff options
| author | mycroft <mycroft@NetBSD.org> | 1995-05-16 14:19:03 +0000 |
|---|---|---|
| committer | mycroft <mycroft@NetBSD.org> | 1995-05-16 14:19:03 +0000 |
| commit | bfd22ffde8c38084080d446d0b15046588a57763 (patch) | |
| tree | c418773cf32c14927c9a3a04e3ea573b13f79f08 /sys/compat/linux/common/linux_exec.c | |
| parent | 59c1e760572930f4f7e32bb5eb6db0711bf94d2d (diff) | |
Generate the new ps_strings format.
Diffstat (limited to 'sys/compat/linux/common/linux_exec.c')
| -rw-r--r-- | sys/compat/linux/common/linux_exec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/common/linux_exec.c b/sys/compat/linux/common/linux_exec.c index 1afba4ef6c2..99792655576 100644 --- a/sys/compat/linux/common/linux_exec.c +++ b/sys/compat/linux/common/linux_exec.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_exec.c,v 1.4 1995/04/22 19:48:34 christos Exp $ */ +/* $NetBSD: linux_exec.c,v 1.5 1995/05/16 14:19:07 mycroft Exp $ */ /* * Copyright (c) 1995 Frank van der Linden @@ -116,7 +116,7 @@ linux_copyargs(pack, arginfo, stack, argp) sp = argp; /* XXX don't copy them out, remap them! */ - arginfo->ps_argvstr = dp; /* remember location of argv for later */ + arginfo->ps_argvstr = cpp; /* remember location of argv for later */ for (; --argc >= 0; sp += len, dp += len) if (copyout(&dp, cpp++, sizeof(dp)) || @@ -129,7 +129,7 @@ linux_copyargs(pack, arginfo, stack, argp) if (copyout(&cpp, &stk[2], sizeof (cpp))) return NULL; - arginfo->ps_envstr = dp; /* remember location of envp for later */ + arginfo->ps_envstr = cpp; /* remember location of envp for later */ for (; --envc >= 0; sp += len, dp += len) if (copyout(&dp, cpp++, sizeof(dp)) || |
