diff options
author | Robert Mustacchi <rm@joyent.com> | 2013-11-24 17:21:10 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2013-11-24 17:21:10 +0000 |
commit | a1a9c17f4e4825d545e3ef72bbbd75c89a32de83 (patch) | |
tree | 5216efbde208623d84a18a47a025acb8284916b4 | |
parent | 1e38a9d858bc8b2a31965a61b50e879a250a11cd (diff) | |
download | illumos-joyent-a1a9c17f4e4825d545e3ef72bbbd75c89a32de83.tar.gz |
OS-2632 uuid generation is very slow on SmartOS, compared to other systems (fix debug)
-rw-r--r-- | usr/src/lib/libuuid/common/uuid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/lib/libuuid/common/uuid.c b/usr/src/lib/libuuid/common/uuid.c index 1ac43e4bbe..7369a56894 100644 --- a/usr/src/lib/libuuid/common/uuid.c +++ b/usr/src/lib/libuuid/common/uuid.c @@ -365,7 +365,7 @@ load_cache() static void fill_random_bytes(uchar_t *buf, int nbytes) { - int i, retries = 0; + int i; if (fd_urand == -1) { mutex_lock(&urandmtx); |