summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMarc-André Lureau2015-10-13 12:12:16 +0200
committerMarc-André Lureau2015-10-24 18:02:49 +0200
commit12f0b68c82356e4dd24f2f0d370b21eb17f1f42e (patch)
treedc64d0524e634b07486ded2c3f718e1614edad9b /util
parentivshmem: reset mask on device reset (diff)
downloadqemu-12f0b68c82356e4dd24f2f0d370b21eb17f1f42e.tar.gz
qemu-12f0b68c82356e4dd24f2f0d370b21eb17f1f42e.tar.xz
qemu-12f0b68c82356e4dd24f2f0d370b21eb17f1f42e.zip
util: const event_notifier_get_fd() argument
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'util')
-rw-r--r--util/event_notifier-posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/event_notifier-posix.c b/util/event_notifier-posix.c
index ed4ca2b01e..d4a0c63e12 100644
--- a/util/event_notifier-posix.c
+++ b/util/event_notifier-posix.c
@@ -77,7 +77,7 @@ void event_notifier_cleanup(EventNotifier *e)
close(e->wfd);
}
-int event_notifier_get_fd(EventNotifier *e)
+int event_notifier_get_fd(const EventNotifier *e)
{
return e->rfd;
}