[pushed] Update call to target_fileio_open

Message ID 20200519183519.5905-1-tromey@adacore.com
State New
Headers show
Series
  • [pushed] Update call to target_fileio_open
Related show

Commit Message

Tom Tromey May 19, 2020, 6:35 p.m.
An earlier patch changed target_fileio_open, but missed a caller.
This patch fixes it.

2020-05-19  Tom Tromey  <tromey@adacore.com>

	* sparc64-tdep.c (adi_tag_fd): Update call to target_fileio_open.
---
 gdb/ChangeLog      | 4 ++++
 gdb/sparc64-tdep.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

-- 
2.21.1

Patch

diff --git a/gdb/sparc64-tdep.c b/gdb/sparc64-tdep.c
index ce323c704da..2529ddc5158 100644
--- a/gdb/sparc64-tdep.c
+++ b/gdb/sparc64-tdep.c
@@ -287,7 +287,7 @@  adi_tag_fd (void)
   snprintf (cl_name, sizeof(cl_name), "/proc/%ld/adi/tags", (long) pid);
   int target_errno;
   proc->stat.tag_fd = target_fileio_open (NULL, cl_name, O_RDWR|O_EXCL, 
-                                          0, &target_errno);
+                                          false, 0, &target_errno);
   return proc->stat.tag_fd;
 }