Browse Source

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>
pull/259/head
Michael Tokarev 3 years ago
parent
commit
f0dbe427ec
  1. 2
      util/filemonitor-inotify.c

2
util/filemonitor-inotify.c

@ -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…
Cancel
Save