Add a FIXME about the problems closing /dev/urandom

This commit is contained in:
Brian Anderson
2012-11-26 12:54:06 -08:00
parent 065d642b15
commit aee0b767bc

View File

@@ -154,6 +154,7 @@ inline void isaac_seed(rust_kernel* kernel, uint8_t* dest, size_t size)
amount += (size_t)ret;
} while (amount < size);
int ret = close(fd);
// FIXME #3697: Why does this fail sometimes?
if (ret != 0)
kernel->log(log_warn, "error closing /dev/urandom: %s",
strerror(errno));