diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-05-13 22:42:37 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-05-13 22:42:37 +0000 |
commit | 04d81be884925127e2ebee994e4a89ce44eab06e (patch) | |
tree | 079775cf553566c01e2fa1117aa532387863d389 /linux-user | |
parent | 2d5262f9919448f2199e6086a8af83cf4bfcdda1 (diff) | |
download | qemu-04d81be884925127e2ebee994e4a89ce44eab06e.zip |
open fix (Paul Brook)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1430 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/arm-semi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/arm-semi.c b/linux-user/arm-semi.c index ea014f6bc7..6950daaa66 100644 --- a/linux-user/arm-semi.c +++ b/linux-user/arm-semi.c @@ -99,7 +99,7 @@ uint32_t do_arm_semihosting(CPUState *env) else return STDOUT_FILENO; } - return set_swi_errno(ts, open(s, open_modeflags[ARG(1)])); + return set_swi_errno(ts, open(s, open_modeflags[ARG(1)], 0644)); case SYS_CLOSE: return set_swi_errno(ts, close(ARG(0))); case SYS_WRITEC: |