summaryrefslogtreecommitdiff
path: root/cpukit/posix/src/prwlocktryrdlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/prwlocktryrdlock.c')
-rw-r--r--cpukit/posix/src/prwlocktryrdlock.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/posix/src/prwlocktryrdlock.c b/cpukit/posix/src/prwlocktryrdlock.c
index 6a70de5931..72413e4814 100644
--- a/cpukit/posix/src/prwlocktryrdlock.c
+++ b/cpukit/posix/src/prwlocktryrdlock.c
@@ -54,10 +54,8 @@ int pthread_rwlock_tryrdlock(
_CORE_RWLock_Obtain_for_reading(
&the_rwlock->RWLock,
executing,
- *rwlock,
false, /* do not wait for the rwlock */
- 0,
- NULL
+ 0
);