mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06: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:
parent
881172f3f9
commit
960f29b347
4 changed files with 12 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue