mescc: Mes C Library: Prepare for M2-Planet: gettimeofday.
* lib/linux/gettimeofday.c (gettimeofday): Prepare for M2-Planet.
This commit is contained in:
parent
40f46eeb04
commit
eb28518a35
|
@ -25,5 +25,7 @@
|
||||||
int
|
int
|
||||||
gettimeofday (struct timeval *tv, struct timezone *tz)
|
gettimeofday (struct timeval *tv, struct timezone *tz)
|
||||||
{
|
{
|
||||||
return _sys_call2 (SYS_gettimeofday, (long) tv, (long) tz);
|
long long_tv = tv;
|
||||||
|
long long_tz = tz;
|
||||||
|
return _sys_call2 (SYS_gettimeofday, long_tv, long_tz);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue