diff options
author | anton <anton@openbsd.org> | 2018-10-27 08:53:35 +0000 |
---|---|---|
committer | anton <anton@openbsd.org> | 2018-10-27 08:53:35 +0000 |
commit | 7341716cc1234e558a77b636a3889550a8ca4de9 (patch) | |
tree | 17d1f74429cd07a06dc7b06bbbacb6d3789a23f3 /sys/sys/lockf.h | |
parent | Add assertions for lockf list manipulation, hidden behind LOCKF_DIAGNOSTIC. (diff) | |
download | wireguard-openbsd-7341716cc1234e558a77b636a3889550a8ca4de9.tar.xz wireguard-openbsd-7341716cc1234e558a77b636a3889550a8ca4de9.zip |
Temporarily enable LOCKF_DIAGNOSTIC in order to catch potential bugs.
ok deraadt@ visa@ (as part of a larger diff)
Diffstat (limited to 'sys/sys/lockf.h')
-rw-r--r-- | sys/sys/lockf.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/lockf.h b/sys/sys/lockf.h index 758e0da0937..56aaf628cbe 100644 --- a/sys/sys/lockf.h +++ b/sys/sys/lockf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: lockf.h,v 1.10 2018/10/27 08:47:09 anton Exp $ */ +/* $OpenBSD: lockf.h,v 1.11 2018/10/27 08:53:35 anton Exp $ */ /* $NetBSD: lockf.h,v 1.5 1994/06/29 06:44:33 cgd Exp $ */ /* @@ -79,6 +79,8 @@ void lf_link(struct lockf *, struct lockf *); void lf_unlink(struct lockf *); __END_DECLS +#define LOCKF_DIAGNOSTIC + #ifdef LOCKF_DEBUG extern int lockf_debug; |