mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-09 17:02:22 +08:00
* opncls.c (bfd_openr_iovec): Fix the OPEN parameter macro expansion.
This commit is contained in:
@ -545,7 +545,8 @@ bfd_openr_iovec (const char *filename, const char *target,
|
||||
nbfd->filename = filename;
|
||||
nbfd->direction = read_direction;
|
||||
|
||||
stream = open (nbfd, open_closure);
|
||||
/* `open (...)' would get expanded by an the open(2) syscall macro. */
|
||||
stream = (*open) (nbfd, open_closure);
|
||||
if (stream == NULL)
|
||||
{
|
||||
_bfd_delete_bfd (nbfd);
|
||||
|
Reference in New Issue
Block a user