mirror of https://gitee.com/openkylin/qemu.git
open fix (Paul Brook)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1430 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
2d5262f991
commit
04d81be884
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue