mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +00:00
posix_spawn.c: fix typo in comment
Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
89f4f91dbf
commit
ebaf907114
|
@ -329,7 +329,7 @@ do_posix_spawn(pid_t *pid, const char *path,
|
||||||
#ifdef _RFORK_THREAD_STACK_SIZE
|
#ifdef _RFORK_THREAD_STACK_SIZE
|
||||||
/*
|
/*
|
||||||
* x86 stores the return address on the stack, so rfork(2) cannot work
|
* x86 stores the return address on the stack, so rfork(2) cannot work
|
||||||
* as-is because the child would clobber the return address om the
|
* as-is because the child would clobber the return address of the
|
||||||
* parent. Because of this, we must use rfork_thread instead while
|
* parent. Because of this, we must use rfork_thread instead while
|
||||||
* almost every other arch stores the return address in a register.
|
* almost every other arch stores the return address in a register.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue