summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon/xautolock_engine.c
diff options
context:
space:
mode:
Diffstat (limited to 'klaptopdaemon/xautolock_engine.c')
-rw-r--r--klaptopdaemon/xautolock_engine.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/klaptopdaemon/xautolock_engine.c b/klaptopdaemon/xautolock_engine.c
index 62f968a..bbce54e 100644
--- a/klaptopdaemon/xautolock_engine.c
+++ b/klaptopdaemon/xautolock_engine.c
@@ -224,7 +224,7 @@ evaluateTriggers (Display* d)
* when we are finally re-enabled.
*/
#ifdef VMS
- if (vmsStatus == 0)
+ if (vmstqStatus == 0)
{
#else /* VMS */
if (lockerPid)
@@ -336,7 +336,7 @@ evaluateTriggers (Display* d)
|| now >= lockTrigger)
{
#ifdef VMS
- if (vmsStatus != 0)
+ if (vmstqStatus != 0)
#else /* VMS */
if (!lockerPid)
#endif /* VMS */
@@ -350,9 +350,9 @@ evaluateTriggers (Display* d)
case 0:
(void) close (ConnectionNumber (d));
#ifdef VMS
- vmsStatus = 0;
+ vmstqStatus = 0;
lockerPid = lib$spawn ((lockNow ? &nowLockerDescr : &lockerDescr),
- 0, 0, &1, 0, 0, &vmsStatus);
+ 0, 0, &1, 0, 0, &vmstqStatus);
if (!(lockerPid & 1)) exit (lockerPid);