projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90e950d
)
Fix set_error return value, by Pierre d'Herbemont.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 31 Jan 2007 12:08:13 +0000
(12:08 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 31 Jan 2007 12:08:13 +0000
(12:08 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2367
c046a42c
-6fe2-441c-8c8c-
71466251a162
darwin-user/main.c
patch
|
blob
|
history
diff --git
a/darwin-user/main.c
b/darwin-user/main.c
index 259aab324edda55c07975cb3822fb956f705851f..5a2bc299ef268bbcaa0d1a62508df16cfd10183a 100644
(file)
--- 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;