mescc: Mes C Library: Prepare for M2-Planet: access.

* lib/linux/access.c (access): Prepare for M2-Planet.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2019-11-02 18:53:20 +01:00
parent 52a0bc9c62
commit ec6a803b7b
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 3 additions and 1 deletions

View File

@ -24,5 +24,7 @@
int
access (char const *file_name, int how)
{
return _sys_call2 (SYS_access, (long) file_name, (int) how);
long long_file_name = file_name;
long long_how = how;
return _sys_call2 (SYS_access, long_file_name, long_how);
}