summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2001-09-17 22:16:37 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2001-09-17 22:16:37 +0000
commit310da25f3d6f7c7698719d285e11441b355bd79f (patch)
tree021f4582048dc1456e9c15d4009ce32a73ef65c6
parent3eb3725b0e378ee92b8605a1abaf671fe6072dd2 (diff)
fix typo
-rw-r--r--linux-core/drm_bufs.c2
-rw-r--r--linux/drm_bufs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_bufs.c b/linux-core/drm_bufs.c
index 89506e9a..a094744b 100644
--- a/linux-core/drm_bufs.c
+++ b/linux-core/drm_bufs.c
@@ -1141,7 +1141,7 @@ int DRM(mapbufs)( DRM_OS_IOCTL )
#endif /* __linux__ */
#ifdef __FreeBSD__
vm_offset_t virtual, address;
-#ifdef __FreeBSD_version >= 500000
+#if __FreeBSD_version >= 500000
struct vmspace *vms = p->td_proc->p_vmspace;
#else
struct vmspace *vms = p->p_vmspace;
diff --git a/linux/drm_bufs.h b/linux/drm_bufs.h
index 89506e9a..a094744b 100644
--- a/linux/drm_bufs.h
+++ b/linux/drm_bufs.h
@@ -1141,7 +1141,7 @@ int DRM(mapbufs)( DRM_OS_IOCTL )
#endif /* __linux__ */
#ifdef __FreeBSD__
vm_offset_t virtual, address;
-#ifdef __FreeBSD_version >= 500000
+#if __FreeBSD_version >= 500000
struct vmspace *vms = p->td_proc->p_vmspace;
#else
struct vmspace *vms = p->p_vmspace;