UNIX main: don't set int to NULL

This commit is contained in:
Alexander von Gluck IV 2012-06-15 12:32:33 -05:00 committed by Alexei Svitkine
parent be28a8e5d4
commit 5dc5f50d46

View File

@ -1201,7 +1201,7 @@ static void kernel_data_exit(void)
shmdt(Mac2HostAddr(KERNEL_DATA_BASE & -SHMLBA));
shmdt(Mac2HostAddr(KERNEL_DATA2_BASE & -SHMLBA));
shmctl(kernel_area, IPC_RMID, NULL);
kernel_area = NULL;
kernel_area = -1;
}
}