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:
parent
4b3e4d2b43
commit
f0dbe427ec
@ -89,7 +89,7 @@ static void qemu_file_monitor_watch(void *arg)
|
||||
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.
|
||||
*/
|
||||
assert(len - used >= sizeof(struct inotify_event));
|
||||
|
Loading…
Reference in New Issue
Block a user