mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
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:
@ -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));
|
||||||
|
Reference in New Issue
Block a user