mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
hurd: Remove lingering references to the time function
They cause a check-localplt failure after commitf9a7554009
. Fixes:f9a7554009
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Change-Id: I37bc20f3449b9e358f32879ed231720c969965b4
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user