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

@@ -226,8 +226,8 @@ gotlock:
if (fd == -1) {
error("cannot creat lock file (%s.)", fq_lock);
} else {
if (write(fd, (char *) &hackpid, sizeof(hackpid))
!= sizeof(hackpid)) {
if (write(fd, (char *) &g.hackpid, sizeof(g.hackpid))
!= sizeof(g.hackpid)) {
error("cannot write lock (%s)", fq_lock);
}
if (close(fd) == -1) {