From 93e0a207569350d01bdafd3bb5e9746795f02e2c Mon Sep 17 00:00:00 2001 From: kre Date: Fri, 8 Dec 2017 09:59:26 +0000 Subject: [PATCH] Revert last 2 updates - these are, of course, not needed at all... --- lib/libpthread/pthread_compat.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/lib/libpthread/pthread_compat.c b/lib/libpthread/pthread_compat.c index 20823700ea75..b88099d01800 100644 --- a/lib/libpthread/pthread_compat.c +++ b/lib/libpthread/pthread_compat.c @@ -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 -__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 #include @@ -89,12 +89,7 @@ _lwp_park(clockid_t a, int b, const struct timespec *c, lwpid_t d, 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