LOCK_MID
vprint(LOCK_MID, "enter_dev_lock: lock file %s\n", dev_lockfile);
vprint(LOCK_MID, "waiting for PID %d to complete\n",
vprint(LOCK_MID, "exit_dev_lock: lock file %s, exiting = %d\n",
vprint(LOCK_MID, "enter_daemon_lock: lock file %s\n", daemon_lockfile);
vprint(LOCK_MID, "exit_daemon_lock: lock file %s, exiting = %d\n",