diff options
Diffstat (limited to 'gdb/remote-fileio.c')
-rw-r--r-- | gdb/remote-fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-fileio.c b/gdb/remote-fileio.c index 9765093..20ec0f2 100644 --- a/gdb/remote-fileio.c +++ b/gdb/remote-fileio.c @@ -425,7 +425,7 @@ remote_fileio_func_open (remote_target *remote, char *buf) } } - fd = gdb_open_cloexec (pathname, flags, mode); + fd = gdb_open_cloexec (pathname, flags, mode).release (); if (fd < 0) { remote_fileio_return_errno (remote, -1); |