espxx_rng.c: Add "/" at the beginning of paths for consistency.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche 2021-09-29 13:47:48 +02:00 committed by Gustavo Henrique Nihei
parent c811cefa2d
commit d22b4ec539
2 changed files with 2 additions and 2 deletions

View File

@ -222,7 +222,7 @@ void devurandom_register(void)
#ifndef CONFIG_DEV_RANDOM
esp32c3_rng_initialize();
#endif
register_driver("dev/urandom", &g_rngops, 0444, NULL);
register_driver("/dev/urandom", &g_rngops, 0444, NULL);
}
#endif

View File

@ -222,7 +222,7 @@ void devurandom_register(void)
#ifndef CONFIG_DEV_RANDOM
esp32_rng_initialize();
#endif
register_driver("dev/urandom", &g_rngops, 0444, NULL);
register_driver("/dev/urandom", &g_rngops, 0444, NULL);
}
#endif