aboutsummaryrefslogtreecommitdiff
path: root/arm-semi.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-01 16:40:04 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-01 16:40:04 +0000
commita982b5310de5d64b67ecced32ba1fd4051c437b8 (patch)
tree1e5a84e07b6736de7db2ab4e4a424ac0f0acd328 /arm-semi.c
parent356265ae4a865dc384f4985f2498374dac2b3dc8 (diff)
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
Diffstat (limited to 'arm-semi.c')
-rw-r--r--arm-semi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arm-semi.c b/arm-semi.c
index 1cf2203887..cd77d1da0f 100644
--- a/arm-semi.c
+++ b/arm-semi.c
@@ -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