summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2014-09-24 10:35:39 +0000
committerjsg <jsg@openbsd.org>2014-09-24 10:35:39 +0000
commitb0a7a747d07880d85676dbf269c51e78d58e0570 (patch)
tree237fc60db2e403b271793ce0f4bc3beb8ded816e
parentKeep under #ifdef MULTIPROCESSOR the code that deals with SPCF_SHOULDHALT (diff)
downloadwireguard-openbsd-b0a7a747d07880d85676dbf269c51e78d58e0570.tar.xz
wireguard-openbsd-b0a7a747d07880d85676dbf269c51e78d58e0570.zip
fix the build when DRMDEBUG is defined
-rw-r--r--sys/dev/pci/drm/drm_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/drm_drv.c b/sys/dev/pci/drm/drm_drv.c
index a155e63e709..3abf6587660 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.130 2014/09/13 16:06:37 doug Exp $ */
+/* $OpenBSD: drm_drv.c,v 1.131 2014/09/24 10:35:39 jsg Exp $ */
/*-
* Copyright 2007-2009 Owain G. Ainsworth <oga@openbsd.org>
* Copyright © 2008 Intel Corporation
@@ -603,7 +603,7 @@ drm_do_ioctl(struct drm_device *dev, int minor, u_long cmd, caddr_t data)
++file_priv->ioctl_count;
DRM_DEBUG("pid=%d, cmd=0x%02lx, nr=0x%02x, dev 0x%lx, auth=%d\n",
- DRM_CURRENTPID, cmd, DRM_IOCTL_NR(cmd), (long)&dev->device,
+ DRM_CURRENTPID, cmd, (u_int)DRM_IOCTL_NR(cmd), (long)&dev->device,
file_priv->authenticated);
switch (cmd) {