; * exec/exec.c (exec_0): Use strcpy.
This commit is contained in:
parent
fb8d87e18d
commit
1145572af2
1 changed files with 1 additions and 1 deletions
|
@ -983,7 +983,7 @@ exec_0 (char *name, struct exec_tracee *tracee,
|
|||
/* Copy over /proc, the PID, and /cwd/. */
|
||||
rewrite = stpcpy (buffer, "/proc/");
|
||||
rewrite = format_pid (rewrite, tracee->pid);
|
||||
stpcpy (rewrite, "/cwd");
|
||||
strcpy (rewrite, "/cwd");
|
||||
|
||||
/* Resolve this symbolic link. */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue