diff options
Diffstat (limited to 'compat/gettod.c')
| -rw-r--r-- | compat/gettod.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/compat/gettod.c b/compat/gettod.c index f6651d4..28e1432 100644 --- a/compat/gettod.c +++ b/compat/gettod.c @@ -1,4 +1,4 @@ -/* +/* * gettod.c -- * * This file provides the gettimeofday function on systems @@ -21,11 +21,10 @@ gettimeofday( struct timezone *tz) { struct timeb t; - (void)tz; ftime(&t); tp->tv_sec = t.time; - tp->tv_usec = t.millitm * 1000; + tp->tv_usec = t. millitm * 1000; return 0; } |
