mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-24 10:32:32 +00:00
UNIX main: don't set int to NULL
This commit is contained in:
parent
be28a8e5d4
commit
5dc5f50d46
@ -1201,7 +1201,7 @@ static void kernel_data_exit(void)
|
|||||||
shmdt(Mac2HostAddr(KERNEL_DATA_BASE & -SHMLBA));
|
shmdt(Mac2HostAddr(KERNEL_DATA_BASE & -SHMLBA));
|
||||||
shmdt(Mac2HostAddr(KERNEL_DATA2_BASE & -SHMLBA));
|
shmdt(Mac2HostAddr(KERNEL_DATA2_BASE & -SHMLBA));
|
||||||
shmctl(kernel_area, IPC_RMID, NULL);
|
shmctl(kernel_area, IPC_RMID, NULL);
|
||||||
kernel_area = NULL;
|
kernel_area = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user