summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 9f561022..ac9f407a 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -45,7 +45,7 @@
#endif
#define XFREE86_VERSION(major,minor,patch,snap) \
- ((major << 16) | (minor < 8) | patch)
+ ((major << 16) | (minor << 8) | patch)
#ifndef CONFIG_XFREE86_VERSION
#define CONFIG_XFREE86_VERSION XFREE86_VERSION(4,1,0,0)