]> granicus.if.org Git - strace/blobdiff - test/leaderkill.c
Fix decoding of epoll_ctl operation argument
[strace] / test / leaderkill.c
index 67d5de1579837f1e6565431e48425a702405fdd9..c24a9f04a7281f33ea66c81a97dcaa840ba895f1 100644 (file)
@@ -1,7 +1,7 @@
-/* Test handle_group_exit () handling of a thread leader still alive with its
- * thread child calling exit_group () and proper passing of the process exit
+/* Test handle_group_exit() handling of a thread leader still alive with its
+ * thread child calling exit_group() and proper passing of the process exit
  * code to the process parent of this whole thread group.
- * 
+ *
  * gcc -o test/leaderkill test/leaderkill.c -Wall -ggdb2 -pthread;./test/leaderkill & pid=$!;sleep 1;strace -o x -q ./strace -f -p $pid
  * It must print: write(1, "OK\n", ...
  */
@@ -38,7 +38,7 @@ int main(int argc, char *argv[])
 
        child = fork();
 
-       switch(child) {
+       switch (child) {
        case -1:
                abort();
        case 0: