Fix dead assignment librz/io/p/io_rzk_linux.c
This commit is contained in:
parent
c20f4792c8
commit
f246a305be
1 changed files with 1 additions and 1 deletions
|
|
@ -574,7 +574,7 @@ int run_old_command(RzIO *io, RzIODesc *iodesc, const char *buf) {
|
|||
memcpy(databuf, buf, strlen(buf) + 1);
|
||||
len = rz_str_unescape((char *)databuf);
|
||||
}
|
||||
ret = WriteMemory(io, iodesc, ioctl_n, pid, addr, (const ut8 *)databuf, len);
|
||||
WriteMemory(io, iodesc, ioctl_n, pid, addr, (const ut8 *)databuf, len);
|
||||
} else {
|
||||
eprintf("Failed to allocate buffer.\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue