diff options
author | jhb <jhb@FreeBSD.org> | 2001-09-21 23:15:10 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-09-21 23:15:10 +0000 |
commit | 929f6090a905b9b22c76b9e2cb64819571fcd7f1 (patch) | |
tree | 455cf998c4d411c80be33c3e0e387a539116cbe0 /sys | |
parent | 8fad87731aa12da4fdc596bec792b18540aa0e40 (diff) | |
download | FreeBSD-src-929f6090a905b9b22c76b9e2cb64819571fcd7f1.zip FreeBSD-src-929f6090a905b9b22c76b9e2cb64819571fcd7f1.tar.gz |
Use __FILE__ and __LINE__ explicitly since we know we will be using them
when calling _mtx_assert() to prevent mtx_assert() from requiring
sys/lock.h as well as sys/mutex.h.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/mutex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/mutex.h b/sys/sys/mutex.h index be8115c..ade2a4c 100644 --- a/sys/sys/mutex.h +++ b/sys/sys/mutex.h @@ -376,7 +376,7 @@ do { \ #ifdef INVARIANTS #define mtx_assert(m, what) \ - _mtx_assert((m), (what), LOCK_FILE, LOCK_LINE) + _mtx_assert((m), (what), __FILE__, __LINE__) #define GIANT_REQUIRED mtx_assert(&Giant, MA_OWNED) |