fixed isinstance check in write syscall

float_support
Anton Lydike 4 years ago
parent d6e6856431
commit 09844c8d38

@ -98,7 +98,7 @@ class SyscallInterface:
data = scall.cpu.mmu.read(addr, size)
if not isinstance(str, bytearray):
if not isinstance(data, bytearray):
print(FMT_SYSCALL + '[Syscall] write: writing from .text region not supported.' + FMT_NONE)
return scall.ret(-1)

Loading…
Cancel
Save