aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-01-31 12:08:13 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-01-31 12:08:13 +0000
commit46ea33974d9637ac9f5338e897e9ed053a575a84 (patch)
treeac63b421006819776a69a2edd76f2cce1dcb1e0f /darwin-user
parentFix GT64120 mapping with REDBOOT, by Aurelien Jarno. (diff)
downloadqemu-kvm-46ea33974d9637ac9f5338e897e9ed053a575a84.tar.gz
qemu-kvm-46ea33974d9637ac9f5338e897e9ed053a575a84.tar.bz2
qemu-kvm-46ea33974d9637ac9f5338e897e9ed053a575a84.zip
Fix set_error return value, by Pierre d'Herbemont.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2367 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'darwin-user')
-rw-r--r--darwin-user/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/darwin-user/main.c b/darwin-user/main.c
index 259aab324..5a2bc299e 100644
--- a/darwin-user/main.c
+++ b/darwin-user/main.c
@@ -478,7 +478,7 @@ static void set_idt(int n, unsigned int dpl)
}
/* ABI convention: after a syscall if there was an error the CF flag is set */
-static inline set_error(CPUX86State *env, int ret)
+static inline void set_error(CPUX86State *env, int ret)
{
if(ret<0)
env->eflags = env->eflags | 0x1;