summaryrefslogtreecommitdiffstats
path: root/sys/sys/filedesc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/filedesc.h')
-rw-r--r--sys/sys/filedesc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/filedesc.h b/sys/sys/filedesc.h
index ebb478d..160bda2 100644
--- a/sys/sys/filedesc.h
+++ b/sys/sys/filedesc.h
@@ -132,6 +132,8 @@ SLIST_HEAD(sigiolst, sigio);
#ifdef _KERNEL
+#define FILEDESC_LOCK_DESC "filedesc structure"
+
/* Lock a file descriptor table. */
#define FILEDESC_LOCK(fd) mtx_lock(&(fd)->fd_mtx)
#define FILEDESC_UNLOCK(fd) mtx_unlock(&(fd)->fd_mtx)
OpenPOWER on IntegriCloud