fix ungrammatical comment in posix_spawn code
authorRich Felker <dalias@aerifal.cx>
Tue, 1 Jul 2014 22:32:52 +0000 (18:32 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 1 Jul 2014 22:32:52 +0000 (18:32 -0400)
src/process/posix_spawn.c

index 08928b0..ae262f7 100644 (file)
@@ -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))) )