On 1/8/23 17:22, Keith Packard via wrote:
Instead of using R_ARG0 (the semihost function number), use R_ARG1
(the provided exit status).

Signed-off-by: Keith Packard <kei...@keithp.com>
---
  target/nios2/nios2-semi.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

Thanks, queued via misc-fixes.

Reply via email to