about summary refs log tree commit diff
path: root/src/process
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-07-01 18:32:52 -0400
committerRich Felker <dalias@aerifal.cx>2014-07-01 18:32:52 -0400
commit0b3d33d4d27731f0d80f726fd114c8b9cb3322be (patch)
tree43087da83de5aae62da57b1bef40869aa41a8e20 /src/process
parente89cfe51d2001af08fc2a13e5133ba8157f90beb (diff)
downloadmusl-0b3d33d4d27731f0d80f726fd114c8b9cb3322be.tar.gz
musl-0b3d33d4d27731f0d80f726fd114c8b9cb3322be.tar.xz
musl-0b3d33d4d27731f0d80f726fd114c8b9cb3322be.zip
fix ungrammatical comment in posix_spawn code
Diffstat (limited to 'src/process')
-rw-r--r--src/process/posix_spawn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process/posix_spawn.c b/src/process/posix_spawn.c
index 08928b0e..ae262f7e 100644
--- a/src/process/posix_spawn.c
+++ b/src/process/posix_spawn.c
@@ -77,9 +77,9 @@ static int child(void *args_vp)
 		if ((ret=__syscall(SYS_setpgid, 0, attr->__pgrp)))
 			goto fail;
 
-	/* Use syscalls directly because pthread state because the
-	 * library functions attempt to do a multi-threaded synchronized
-	 * id-change, which would trash the parent's state. */
+	/* Use syscalls directly because the library functions attempt
+	 * to do a multi-threaded synchronized id-change, which would
+	 * trash the parent's state. */
 	if (attr->__flags & POSIX_SPAWN_RESETIDS)
 		if ((ret=__syscall(SYS_setgid, __syscall(SYS_getgid))) ||
 		    (ret=__syscall(SYS_setuid, __syscall(SYS_getuid))) )