Set the return value correctly on copy failure in copystr.
MFC after: 1 week
This commit is contained in:
parent
a409091271
commit
d5156d8acb
@ -194,6 +194,7 @@ END(copyoutstr)
|
||||
|
||||
/* A fault occurred during the copy */
|
||||
.Lcopystrfault:
|
||||
mov r0, #EFAULT
|
||||
mov r1, #0x00000000
|
||||
str r1, [r4, #PCB_ONFAULT]
|
||||
RESTORE_REGS
|
||||
|
Loading…
Reference in New Issue
Block a user