mirror of https://github.com/RPCS3/rpcs3.git
Fix /dev/urandom typo
This commit is contained in:
parent
ab4e66a0bf
commit
3d64b65813
|
@ -52,7 +52,7 @@ error_code sys_ss_random_number_generator(u32 arg1, vm::ptr<void> buf, u64 size)
|
||||||
return CELL_EABORT;
|
return CELL_EABORT;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
fs::file rnd{"/dev/random/"};
|
fs::file rnd{"/dev/urandom"};
|
||||||
|
|
||||||
if (!rnd || rnd.read(buf.get_ptr(), size) != size)
|
if (!rnd || rnd.read(buf.get_ptr(), size) != size)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue