diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-11-07 09:52:34 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-11-07 09:54:33 +0100 |
commit | 50471a8613dc487dce8b7cabc35a01b4b5b242ea (patch) | |
tree | 8a635f1eba160b1f93696275e2df5412489d3620 /sysdeps | |
parent | dae7bf38978294f7d1aeece7f31c738281a3ba04 (diff) | |
download | glibc-50471a8613dc487dce8b7cabc35a01b4b5b242ea.tar glibc-50471a8613dc487dce8b7cabc35a01b4b5b242ea.tar.gz glibc-50471a8613dc487dce8b7cabc35a01b4b5b242ea.tar.bz2 glibc-50471a8613dc487dce8b7cabc35a01b4b5b242ea.zip |
hurd: Remove lingering references to the time function
They cause a check-localplt failure after commit f9a7554009cf38f39.
Fixes: f9a7554009cf38f390e74fcabc5b49f974f72382
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Change-Id: I37bc20f3449b9e358f32879ed231720c969965b4
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/mach/sleep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/sleep.c b/sysdeps/mach/sleep.c index b30ec7b1d6..267928e1e4 100644 --- a/sysdeps/mach/sleep.c +++ b/sysdeps/mach/sleep.c @@ -33,10 +33,10 @@ __sleep (unsigned int seconds) recv = __mach_reply_port (); - before = time (NULL); + before = time_now (); (void) __mach_msg (NULL, MACH_RCV_MSG|MACH_RCV_TIMEOUT|MACH_RCV_INTERRUPT, 0, 0, recv, seconds * 1000, MACH_PORT_NULL); - after = time (NULL); + after = time_now (); __mach_port_destroy (__mach_task_self (), recv); return seconds - (after - before); |