summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/create_xid.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-10-19 20:10:18 +0000
committerEric Andersen <andersen@codepoet.org>2004-10-19 20:10:18 +0000
commit7e2b221be1bae211b580ea1204dc7c54b2684abd (patch)
treeeda4e5658779c094fde56643d4f57464f092b945 /libc/inet/rpc/create_xid.c
parentb4f49294526ceadbc4194ec7efb9af04f1e6e577 (diff)
Peter S. Mazinger writes:
Hello! Would the attached patch be acceptable (maybe instead of __libc_gettimeofday using __gettimeofday) We have some issues, see http://bugs.gentoo.org/show_bug.cgi?id=65892
Diffstat (limited to 'libc/inet/rpc/create_xid.c')
-rw-r--r--libc/inet/rpc/create_xid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/rpc/create_xid.c b/libc/inet/rpc/create_xid.c
index cbb961e4d..8d8a34070 100644
--- a/libc/inet/rpc/create_xid.c
+++ b/libc/inet/rpc/create_xid.c
@@ -51,7 +51,7 @@ _create_xid (void)
{
struct timeval now;
- gettimeofday (&now, (struct timezone *) 0);
+ __libc_gettimeofday (&now, (struct timezone *) 0);
srand48_r (now.tv_sec ^ now.tv_usec, &__rpc_lrand48_data);
is_initialized = 1;
}