mirror of
https://git.freebsd.org/ports.git
synced 2025-06-28 08:00:31 -04:00
11 lines
253 B
C
11 lines
253 B
C
--- ../src/dbinc/mutex_int.h.orig 2016-03-28 19:45:54 UTC
|
|
+++ ../src/dbinc/mutex_int.h
|
|
@@ -652,7 +652,7 @@ MUTEX_SET(int *tsl) {
|
|
: "=&r" (__r), "+r" (tsl)
|
|
:
|
|
: "cr0", "memory");
|
|
- return (int)tsl;
|
|
+ return (tsl != 0);
|
|
}
|
|
|
|
static inline int
|