Add missing return in arm-semi, by Laurent Desnogues.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 1 Jul 2008 16:40:04 +0000 (16:40 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 1 Jul 2008 16:40:04 +0000 (16:40 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4814 c046a42c-6fe2-441c-8c8c-71466251a162

arm-semi.c

index 1cf2203..cd77d1d 100644 (file)
@@ -362,6 +362,7 @@ uint32_t do_arm_semihosting(CPUState *env)
                 return (uint32_t)-1;
             ret = set_swi_errno(ts, system(s));
             unlock_user(s, ARG(0), 0);
+            return ret;
         }
     case SYS_ERRNO:
 #ifdef CONFIG_USER_ONLY