summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2010-06-30 22:05:44 +0000
committerderaadt <deraadt@openbsd.org>2010-06-30 22:05:44 +0000
commit950366f99d750c43bb2ea707aca8504cc3c82579 (patch)
treee1e623ed3abccb0c131b40646e033ca3603152c4
parentMerge from NetBSD: "Linux's getsid(2) does in fact return a pid, (diff)
downloadwireguard-openbsd-950366f99d750c43bb2ea707aca8504cc3c82579.tar.xz
wireguard-openbsd-950366f99d750c43bb2ea707aca8504cc3c82579.zip
Silence the activation debug reporting. We are starting to get worried
that there are interactions when we print in the various (saved, post-saved, pre-restored, and restored) vga states, especially with how intel drm is getting involved. If your machine has issues, you may want to activate these messages again to help debug things better. ok mlarkin
-rw-r--r--sys/kern/subr_autoconf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/subr_autoconf.c b/sys/kern/subr_autoconf.c
index a4ef8124197..70d2eb9291e 100644
--- a/sys/kern/subr_autoconf.c
+++ b/sys/kern/subr_autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_autoconf.c,v 1.60 2010/02/28 17:31:27 miod Exp $ */
+/* $OpenBSD: subr_autoconf.c,v 1.61 2010/06/30 22:05:44 deraadt Exp $ */
/* $NetBSD: subr_autoconf.c,v 1.21 1996/04/04 06:06:18 cgd Exp $ */
/*
@@ -751,7 +751,9 @@ config_suspend(struct device *dev, int act)
struct cfattach *ca = dev->dv_cfdata->cf_attach;
if (ca->ca_activate) {
+#if 0
printf("activate: %s %d\n", dev->dv_xname, act);
+#endif
return (*ca->ca_activate)(dev, act);
}
return (0);