diff options
Diffstat (limited to 'sim/arm/armos.c')
-rw-r--r-- | sim/arm/armos.c | 2 |
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; } } |