diff options
author | Josef 'Jeff' Sipek <josef.sipek@nexenta.com> | 2014-04-29 13:05:25 -0400 |
---|---|---|
committer | Richard Lowe <richlowe@richlowe.net> | 2014-04-29 19:58:01 -0400 |
commit | 19449258028e6813f0b7a606b554b2fa37a390ec (patch) | |
tree | efea614096aaea148d4996ef59fd97c6dbf0d687 /usr/src/lib/libldap5/sources/ldap/common/os-ip.c | |
parent | cb3e7fb42f8104f779abb6856ccf6e5b8e6419d8 (diff) | |
download | illumos-gate-19449258028e6813f0b7a606b554b2fa37a390ec.tar.gz |
4823 don't open-code NSEC2MSEC and MSEC2NSEC
Reviewed by: Richard Elling <richard.elling@gmail.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/lib/libldap5/sources/ldap/common/os-ip.c')
-rw-r--r-- | usr/src/lib/libldap5/sources/ldap/common/os-ip.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/src/lib/libldap5/sources/ldap/common/os-ip.c b/usr/src/lib/libldap5/sources/ldap/common/os-ip.c index 00e9769cfa..4dd1f8d672 100644 --- a/usr/src/lib/libldap5/sources/ldap/common/os-ip.c +++ b/usr/src/lib/libldap5/sources/ldap/common/os-ip.c @@ -3,8 +3,6 @@ * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - /* * The contents of this file are subject to the Netscape Public * License Version 1.1 (the "License"); you may not use this file @@ -317,7 +315,7 @@ nsldapi_os_connect_with_to(LBER_SOCKET sockfd, struct sockaddr *saptr, (msec % MILLISEC); #ifdef _SOLARIS_SDK start_time = gethrtime(); - tv_time = (hrtime_t)msec * (NANOSEC / MILLISEC); + tv_time = MSEC2NSEC(msec); #else start_time = (long)time(NULL); #endif |