aboutsummaryrefslogtreecommitdiffstats
path: root/exec/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'exec/exec.c')
-rw-r--r--exec/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec/exec.c b/exec/exec.c
index a15386b51bb..0e077284860 100644
--- a/exec/exec.c
+++ b/exec/exec.c
@@ -983,7 +983,7 @@ exec_0 (char *name, struct exec_tracee *tracee,
983 /* Copy over /proc, the PID, and /cwd/. */ 983 /* Copy over /proc, the PID, and /cwd/. */
984 rewrite = stpcpy (buffer, "/proc/"); 984 rewrite = stpcpy (buffer, "/proc/");
985 rewrite = format_pid (rewrite, tracee->pid); 985 rewrite = format_pid (rewrite, tracee->pid);
986 stpcpy (rewrite, "/cwd"); 986 strcpy (rewrite, "/cwd");
987 987
988 /* Resolve this symbolic link. */ 988 /* Resolve this symbolic link. */
989 989