summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2014-10-31 07:59:27 +0000
committerjsg <jsg@openbsd.org>2014-10-31 07:59:27 +0000
commitb045954e44d4288a4a59dead57b40348089d52a0 (patch)
tree9094763362e21941ab730fe04cec8bf5f776fb0f
parentFix a missing include in amd64 pmap.c that resulted in an erroneous memory (diff)
downloadwireguard-openbsd-b045954e44d4288a4a59dead57b40348089d52a0.tar.xz
wireguard-openbsd-b045954e44d4288a4a59dead57b40348089d52a0.zip
#if NSWDISPLAY > 0 -> #if NWSDISPLAY > 0
now wsdisplay_suspend() will run on suspend
-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