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

* lib/linux/gettimeofday.c (gettimeofday): Prepare for M2-Planet.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2019-11-02 18:54:28 +01:00
parent 558aceca68
commit 9f67b34d28
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 3 additions and 1 deletions

View File

@ -25,5 +25,7 @@
int
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);
}