summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2012-08-30 18:01:36 +0000
committermpi <mpi@openbsd.org>2012-08-30 18:01:36 +0000
commit650730fd1b660bb39ed36c3c89703ee9ccbbc286 (patch)
tree4f7ed20f5f1ce4160a56ad63f27f28d2aac84f00
parentUse an explicit suffix for the "fld" instruction to shut up clang. The correct (diff)
downloadwireguard-openbsd-650730fd1b660bb39ed36c3c89703ee9ccbbc286.tar.xz
wireguard-openbsd-650730fd1b660bb39ed36c3c89703ee9ccbbc286.zip
Use only one macro instead of two to turn debug printf on.
ok kettenis@
-rw-r--r--sys/dev/pci/drm/drm_drv.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/pci/drm/drm_drv.c b/sys/dev/pci/drm/drm_drv.c
index 8fc491a16a5..777a54596cd 100644
--- a/sys/dev/pci/drm/drm_drv.c
+++ b/sys/dev/pci/drm/drm_drv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: drm_drv.c,v 1.96 2011/07/03 18:34:14 oga Exp $ */
+/* $OpenBSD: drm_drv.c,v 1.97 2012/08/30 18:01:36 mpi Exp $ */
/*-
* Copyright 2007-2009 Owain G. Ainsworth <oga@openbsd.org>
* Copyright © 2008 Intel Corporation
@@ -51,10 +51,8 @@
#include "drm.h"
#include "drm_sarea.h"
-#ifdef DRM_DEBUG_DEFAULT_ON
+#ifdef DRMDEBUG
int drm_debug_flag = 1;
-#else
-int drm_debug_flag = 0;
#endif
int drm_firstopen(struct drm_device *);