diff options
Diffstat (limited to 'sal/osl/unx/time.c')
-rw-r--r-- | sal/osl/unx/time.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/osl/unx/time.c b/sal/osl/unx/time.c index 31530be2195f..602fe64593c0 100644 --- a/sal/osl/unx/time.c +++ b/sal/osl/unx/time.c @@ -45,15 +45,15 @@ * osl_getSystemTime *-------------------------------------------------*/ -sal_Bool SAL_CALL osl_getSystemTime(TimeValue* TimeValue) +sal_Bool SAL_CALL osl_getSystemTime(TimeValue* tv) { struct timeval tp; /* FIXME: use higher resolution */ gettimeofday(&tp, NULL); - TimeValue->Seconds = tp.tv_sec; - TimeValue->Nanosec = tp.tv_usec * 1000; + tv->Seconds = tp.tv_sec; + tv->Nanosec = tp.tv_usec * 1000; return (sal_True); } |