fix stat() syscall

This commit is contained in:
Balazs Gerofi
2012-09-20 09:39:34 +09:00
parent bccfa3ef5b
commit da484cc1c5
2 changed files with 10 additions and 3 deletions

View File

@@ -171,7 +171,7 @@ SYSCALL_DECLARE(stat)
{
SYSCALL_HEADER;
dkprintf("stat(\"%s\");\n", (char*)aal_mc_syscall_arg0(ctx));
SYSCALL_ARGS_2(D, D);
SYSCALL_ARGS_2(MO, MO);
SYSCALL_FOOTER;
}