mirror of
https://github.com/xemu-project/xemu.git
synced 2026-07-11 01:24:41 +02:00
monitor: Report errors from monitor_fdset_dup_fd_add
I'm keeping the EACCES because callers expect to be able to look at errno. Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: Fabiano Rosas <farosas@suse.de>
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
#include "monitor/monitor.h"
|
||||
#include "../monitor/monitor-internal.h"
|
||||
|
||||
int monitor_fdset_dup_fd_add(int64_t fdset_id, int flags)
|
||||
int monitor_fdset_dup_fd_add(int64_t fdset_id, int flags, Error **errp)
|
||||
{
|
||||
errno = ENOSYS;
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user