Commit a982b5310de5d64b67ecced32ba1fd4051c437b8

Authored by ths
1 parent 356265ae

Add missing return in arm-semi, by Laurent Desnogues.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4814 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 0 deletions
arm-semi.c
... ... @@ -362,6 +362,7 @@ uint32_t do_arm_semihosting(CPUState *env)
362 362 return (uint32_t)-1;
363 363 ret = set_swi_errno(ts, system(s));
364 364 unlock_user(s, ARG(0), 0);
  365 + return ret;
365 366 }
366 367 case SYS_ERRNO:
367 368 #ifdef CONFIG_USER_ONLY
... ...