summaryrefslogtreecommitdiff
path: root/sim/arm/armos.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-10-12 04:37:53 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-10-12 04:37:53 +0000
commita53c440bf2c42802dc25fb9fa62f0f5dc196b399 (patch)
treec529861a454a8200807cbb62af394c2952248e00 /sim/arm/armos.c
parentf4e2ab8d6023f442c422f4f883c9c96f0106190f (diff)
downloadgdb-a53c440bf2c42802dc25fb9fa62f0f5dc196b399.tar.gz
import gdb-1999-10-11 snapshot
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 d73d7f2c6f8..9f0f1fee49b 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;
}
}