mescc: Mes C Library: Prepare for M2-Planet: chmod.
* lib/linux/chmod.c (chmod): Prepare for M2-Planet.
This commit is contained in:
parent
1273e19587
commit
edb2e5c142
|
@ -25,5 +25,7 @@
|
||||||
int
|
int
|
||||||
chmod (char const *file_name, mode_t mask)
|
chmod (char const *file_name, mode_t mask)
|
||||||
{
|
{
|
||||||
return _sys_call2 (SYS_chmod, (long) file_name, (long) mask);
|
long long_file_name = file_name;
|
||||||
|
long long_mask = mask;
|
||||||
|
return _sys_call2 (SYS_chmod, long_file_name, long_mask);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue