mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-07 10:33:30 +00:00
make rafind2 using r_io_pread instead of r_io_read_at
This commit is contained in:
parent
7ce6922491
commit
5c4a5ab5bb
@ -117,7 +117,7 @@ static int rafind_open(char *file) {
|
||||
bsize = to-cur;
|
||||
last=1;
|
||||
}
|
||||
ret = r_io_read_at (io, cur, buf, bsize);
|
||||
ret = r_io_pread (io, cur, buf, bsize);
|
||||
if (ret == 0) {
|
||||
if (nonstop) continue;
|
||||
// fprintf(stderr, "Error reading at 0x%08"PFMT64x"\n", cur);
|
||||
|
Loading…
Reference in New Issue
Block a user