mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
Fix various explicitness, laziness, hard codes
This commit is contained in:
parent
5524cd1e75
commit
c69691f19b
6 changed files with 26 additions and 24 deletions
|
@ -154,7 +154,7 @@ namespace utils
|
|||
#else
|
||||
while ((m_file = ::shm_open("/rpcs3-mem1", O_RDWR | O_CREAT | O_EXCL, S_IWUSR | S_IRUSR)) == -1)
|
||||
{
|
||||
if (m_file == -1 && errno == EMFILE)
|
||||
if (errno == EMFILE)
|
||||
{
|
||||
fmt::throw_exception("Too many open files. Raise the limit and try again.");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue