util/filemonitor-inotify.c: spelling fix: kenel

Fixes: 2e12dd405c "util/filemonitor-inotify: qemu_file_monitor_watch(): assert no overflow"
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
Michael Tokarev 2023-11-14 19:11:33 +03:00
parent 4b3e4d2b43
commit f0dbe427ec

View File

@ -89,7 +89,7 @@ static void qemu_file_monitor_watch(void *arg)
struct inotify_event *ev = (struct inotify_event *)(buf + used); struct inotify_event *ev = (struct inotify_event *)(buf + used);
/* /*
* We trust the kenel to provide valid buffer with complete event * We trust the kernel to provide valid buffer with complete event
* records. * records.
*/ */
assert(len - used >= sizeof(struct inotify_event)); assert(len - used >= sizeof(struct inotify_event));