mirror of
https://github.com/apache/nuttx.git
synced 2026-10-12 16:50:21 +00:00
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:
parent
c811cefa2d
commit
d22b4ec539
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue