HomeFreeBSD

amd64: fix return value of copyinstr after r338970

Description

amd64: fix return value of copyinstr after r338970

The function stopped swapping rdi and rsi, but the error handling
code was not updated with the new register name.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

Details

Provenance
mjgAuthored on
Parents
rS338988: Merge ^/head r338731 through r338987.
Branches
Unknown
Tags
Unknown