Module Name: src Committed By: kre Date: Fri Dec 8 09:59:26 UTC 2017
Modified Files: src/lib/libpthread: pthread_compat.c Log Message: Revert last 2 updates - these are, of course, not needed at all... To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/libpthread/pthread_compat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libpthread/pthread_compat.c diff -u src/lib/libpthread/pthread_compat.c:1.5 src/lib/libpthread/pthread_compat.c:1.6 --- src/lib/libpthread/pthread_compat.c:1.5 Fri Dec 8 09:41:16 2017 +++ src/lib/libpthread/pthread_compat.c Fri Dec 8 09:59:26 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: pthread_compat.c,v 1.5 2017/12/08 09:41:16 kre Exp $ */ +/* $NetBSD: pthread_compat.c,v 1.6 2017/12/08 09:59:26 kre Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: pthread_compat.c,v 1.5 2017/12/08 09:41:16 kre Exp $"); +__RCSID("$NetBSD: pthread_compat.c,v 1.6 2017/12/08 09:59:26 kre Exp $"); #include <sys/param.h> #include <sys/syscall.h> @@ -89,12 +89,7 @@ _lwp_park(clockid_t a, int b, const stru const void *e, const void *f) { - if (c != NULL) { - struct timespec t = *c; - - return syscall(SYS____lwp_park60, a, b, &t, d, e, f); - } else - return syscall(SYS____lwp_park60, a, b, NULL, d, e, f); + return syscall(SYS____lwp_park60, a, b, c, d, e, f); } int