Changes needed in various ports due to globals changes.
This commit is contained in:
@@ -24,7 +24,7 @@ getlock(void)
|
||||
int fd;
|
||||
int pid = getpid(); /* Process ID */
|
||||
|
||||
Sprintf(lock, "%d%s", getuid(), plname);
|
||||
Sprintf(lock, "%d%s", getuid(), g.plname);
|
||||
set_levelfile_name(lock, 0);
|
||||
|
||||
if ((fd = open(lock, O_RDWR | O_EXCL | O_CREAT, LEVL_TYPE)) == -1) {
|
||||
|
||||
Reference in New Issue
Block a user