aboutsummaryrefslogtreecommitdiff
path: root/sim/arm/armos.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/arm/armos.c')
-rw-r--r--sim/arm/armos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/arm/armos.c b/sim/arm/armos.c
index d73d7f2..9f0f1fe 100644
--- a/sim/arm/armos.c
+++ b/sim/arm/armos.c
@@ -295,7 +295,7 @@ SWIopen (ARMul_State *state, ARMword name, ARMword SWIflags)
}
else
{
- state->Reg[0] = (int) open (dummy, flags);
+ state->Reg[0] = (int) open (dummy, flags, 0666);
OSptr->ErrorNo = errno;
}
}