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

* lib/linux/clock_gettime.c (clock_gettime): Prepare for M2-Planet.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2020-07-25 19:53:48 +02:00
parent edb2e5c142
commit 4cef964aba
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
clock_gettime (clockid_t clk_id, struct timespec *tp)
{
return _sys_call2 (SYS_clock_gettime, (long) clk_id, (long) tp);
long long_clk_id = clk_id;
long long_tp = tp;
return _sys_call2 (SYS_clock_gettime, clk_id, tp);
}