summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-10-31 07:59:28 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-10-31 07:59:28 +0000
commitd16a265253213b1f66be94507753c9987073c9bb (patch)
tree28be965d89410f36982eac3a389fff9eeb0ed5c3 /sys/arch
parentbc91bc79e2042eb7878641ea766156040b04f416 (diff)
#if NSWDISPLAY > 0 -> #if NWSDISPLAY > 0
now wsdisplay_suspend() will run on suspend
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/loongson/dev/apm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/loongson/dev/apm.c b/sys/arch/loongson/dev/apm.c
index d5e9a6a595d..5ab046491cc 100644
--- a/sys/arch/loongson/dev/apm.c
+++ b/sys/arch/loongson/dev/apm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apm.c,v 1.24 2014/09/20 09:28:24 kettenis Exp $ */
+/* $OpenBSD: apm.c,v 1.25 2014/10/31 07:59:27 jsg Exp $ */
/*-
* Copyright (c) 2001 Alexander Guy. All rights reserved.
@@ -368,7 +368,7 @@ apm_suspend(int state)
int rv;
int s;
-#if NSWDISPLAY > 0
+#if NWSDISPLAY > 0
wsdisplay_suspend();
#endif