Update call to target_fileio_open

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.
This commit is contained in:
Tom Tromey 2020-05-19 12:34:35 -06:00
parent f408d82c7a
commit 563c591bed
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2020-05-19 Tom Tromey <tromey@adacore.com>
* sparc64-tdep.c (adi_tag_fd): Update call to target_fileio_open.
2020-05-19 Simon Marchi <simon.marchi@efficios.com>
* dwarf2/read.c (quirk_rust_enum): Allocate enough fields.

View File

@ -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;
}