Module Name: src Committed By: uwe Date: Tue Feb 27 20:22:31 UTC 2018
Modified Files: src/tests/lib/libpthread: t_swapcontext.c Log Message: Cleanup trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libpthread/t_swapcontext.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/lib/libpthread/t_swapcontext.c diff -u src/tests/lib/libpthread/t_swapcontext.c:1.3 src/tests/lib/libpthread/t_swapcontext.c:1.4 --- src/tests/lib/libpthread/t_swapcontext.c:1.3 Mon Jan 16 16:27:06 2017 +++ src/tests/lib/libpthread/t_swapcontext.c Tue Feb 27 20:22:31 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: t_swapcontext.c,v 1.3 2017/01/16 16:27:06 christos Exp $ */ +/* $NetBSD: t_swapcontext.c,v 1.4 2018/02/27 20:22:31 uwe Exp $ */ /* * Copyright (c) 2012 Emmanuel Dreyfus. All rights reserved. @@ -54,9 +54,9 @@ static void swapfunc(void *arg) { /* - * If the test fails, we are very likely to crash + * If the test fails, we are very likely to crash * without the opportunity to report - */ + */ nself = (void *)pthread_self(); printf("after swapcontext self = %p\n", nself); @@ -75,9 +75,9 @@ threadfunc(void *arg) { nctx.uc_stack.ss_sp = stack; nctx.uc_stack.ss_size = sizeof(stack); - + makecontext(&nctx, (void *)*swapfunc, 0); - + oself = (void *)pthread_self(); printf("before swapcontext self = %p\n", oself); ATF_REQUIRE_MSG(swapcontext(&octx, &nctx) != -1, "swapcontext failed: %s",