Change references from hackpid to g.hackpid in various ports.

This commit is contained in:
Bart House
2018-12-22 14:43:50 -08:00
parent b863fad3ea
commit c9565d4ef6
5 changed files with 10 additions and 10 deletions

View File

@@ -448,8 +448,8 @@ _CrtSetReportFile(_CRT_ASSERT, _CRTDBG_FILE_STDERR);*/
if (fd < 0) {
raw_print("Cannot create lock file");
} else {
hackpid = 1;
write(fd, (genericptr_t) &hackpid, sizeof(hackpid));
g.hackpid = 1;
write(fd, (genericptr_t) &g.hackpid, sizeof(g.hackpid));
nhclose(fd);
}
#ifdef MFLOPPY