mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 12:33:27 +08: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:
committed by
Gustavo Henrique Nihei
parent
c811cefa2d
commit
d22b4ec539
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user