rwlock: fix up compilation of the previous change
commmitted wrong version of the patch
This commit is contained in:
parent
c1e1a7ec30
commit
5ba6facfcd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326198
@ -337,7 +337,7 @@ __rw_try_wlock(volatile uintptr_t *c, const char *file, int line)
|
||||
struct rwlock *rw;
|
||||
|
||||
rw = rwlock2rw(c);
|
||||
return (__rw_try_wlock_int(rw, LOCK_FILE_LINE_ARG));
|
||||
return (__rw_try_wlock_int(rw LOCK_FILE_LINE_ARG));
|
||||
}
|
||||
|
||||
void
|
||||
@ -701,7 +701,7 @@ __rw_try_rlock(volatile uintptr_t *c, const char *file, int line)
|
||||
struct rwlock *rw;
|
||||
|
||||
rw = rwlock2rw(c);
|
||||
return (__rw_try_rlock_int(rw, LOCK_FILE_LINE_ARG));
|
||||
return (__rw_try_rlock_int(rw LOCK_FILE_LINE_ARG));
|
||||
}
|
||||
|
||||
static bool __always_inline
|
||||
|
Loading…
Reference in New Issue
Block a user