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

@@ -243,8 +243,8 @@ getlock(void)
if (fd == -1) {
error("cannot creat lock file.");
} else {
if (write(fd, (genericptr_t) &hackpid, sizeof(hackpid))
!= sizeof(hackpid)) {
if (write(fd, (genericptr_t) &g.hackpid, sizeof(g.hackpid))
!= sizeof(g.hackpid)) {
error("cannot write lock");
}
if (close(fd) == -1) {