mescc: Mes C Library: Prepare for M2-Planet: dup2.
* lib/linux/dup2.c (dup2): Prepare for M2-Planet.
This commit is contained in:
parent
4c6c73468a
commit
40f46eeb04
|
@ -24,5 +24,7 @@
|
||||||
int
|
int
|
||||||
dup2 (int old, int new)
|
dup2 (int old, int new)
|
||||||
{
|
{
|
||||||
return _sys_call2 (SYS_dup2, (int) old, (int) new);
|
long long_old = old;
|
||||||
|
long long_new = new;
|
||||||
|
return _sys_call2 (SYS_dup2, long_old, long_new);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue