diff options
author | Fabiano Rosas <farosas@suse.de> | 2024-06-17 15:57:24 -0300 |
---|---|---|
committer | Fabiano Rosas <farosas@suse.de> | 2024-06-21 09:47:21 -0300 |
commit | 960f29b347ad34a53580fa822083d51ba7851b7b (patch) | |
tree | b913174889de6fdc2205d4d1e5c21ae6994a560c /stubs | |
parent | 881172f3f9dfe5764e7cb8983e5a660b93224d0c (diff) |
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>
Diffstat (limited to 'stubs')
-rw-r--r-- | stubs/fdset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stubs/fdset.c b/stubs/fdset.c index 389e368a29..2950fd91fd 100644 --- a/stubs/fdset.c +++ b/stubs/fdset.c @@ -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; |