mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +08:00
gdbserver/linux-low.cc: Fix a typo in ternary operator
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
147699fd69
commit
2e977d9901
@ -5390,7 +5390,7 @@ proc_xfer_memory (CORE_ADDR memaddr, unsigned char *readbuf,
|
||||
if (lseek (fd, memaddr, SEEK_SET) != -1)
|
||||
bytes = (readbuf != nullptr
|
||||
? read (fd, readbuf, len)
|
||||
? write (fd, writebuf, len));
|
||||
: write (fd, writebuf, len));
|
||||
#endif
|
||||
|
||||
if (bytes < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user