crypto/random_pool: fix typo in debug print, change 'crypinfo' to 'cryptinfo'

This commit is contained in:
Jussi Kivilinna 2017-03-31 06:00:32 -06:00 committed by Gregory Nutt
parent b5b148fef8
commit 5e8ed2dd4e

View File

@ -367,7 +367,7 @@ static void rng_buf_internal(FAR void *bytes, size_t nbytes)
static void rng_init(void) static void rng_init(void)
{ {
crypinfo("Initializing RNG\n"); cryptinfo("Initializing RNG\n");
memset(&g_rng, 0, sizeof(struct rng_s)); memset(&g_rng, 0, sizeof(struct rng_s));
sem_init(&g_rng.rd_sem, 0, 1); sem_init(&g_rng.rd_sem, 0, 1);