Skip to content
Snippets Groups Projects
Commit dec152b4 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix non-Windows build, broken in previous commit

parent 9b228fe9
No related branches found
No related tags found
No related merge requests found
Pipeline #7189 passed
......@@ -159,7 +159,7 @@ bool _fmutex_open(fmutex_t* fm, const char* text, long max_age, bool auto_remove
return false;
}
#else
if((fm->fd = sopen(fname, O_CREAT|O_WRONLY|O_EXCL, SH_DENYRW, DEFFILEMODE)) < 0)
if((fm->fd = sopen(fm->name, O_CREAT|O_WRONLY|O_EXCL, SH_DENYRW, DEFFILEMODE)) < 0)
return false;
#endif
#if !defined(NO_SOCKET_SUPPORT)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment