aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2026-07-08 18:06:00 +0000
committerMark Johnston <markj@FreeBSD.org>2026-07-09 13:41:27 +0000
commit3e123be2305a30369f63bcee22ca5e0db527f320 (patch)
treeede59b14ffe30f7012581a726f5dcff9a9789569
parent836a76ad95be2fcf2cd116d754c5888a731d57aa (diff)
inotify: Fix comment typos
MFC after: 1 week
-rw-r--r--sys/kern/vfs_inotify.c2
-rw-r--r--sys/sys/inotify.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_inotify.c b/sys/kern/vfs_inotify.c
index 9269dc0723af..473ce9358276 100644
--- a/sys/kern/vfs_inotify.c
+++ b/sys/kern/vfs_inotify.c
@@ -563,7 +563,7 @@ inotify_overflow_event(struct inotify_event *evp)
}
/*
- * Put an event record on the queue for an inotify desscriptor. Return false if
+ * Put an event record on the queue for an inotify descriptor. Return false if
* the record was not enqueued for some reason, true otherwise.
*/
static bool
diff --git a/sys/sys/inotify.h b/sys/sys/inotify.h
index d1f23d5898bb..b8b4c67d9be2 100644
--- a/sys/sys/inotify.h
+++ b/sys/sys/inotify.h
@@ -38,7 +38,7 @@ struct inotify_event {
#define IN_MOVE_SELF 0x00000800
#define IN_ALL_EVENTS 0x00000fff
-/* Events report only for entries in a watched dir, not the dir itself. */
+/* Events reported only for entries in a watched dir, not the dir itself. */
#define _IN_DIR_EVENTS (IN_CLOSE_WRITE | IN_DELETE | IN_MODIFY | \
IN_MOVED_FROM | IN_MOVED_TO)