summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Noland <rnoland@2hip.net>2009-03-16 00:07:31 -0500
committerRobert Noland <rnoland@2hip.net>2009-03-16 00:07:31 -0500
commit2ce00c6b674a51bdfaa3276b88d2015c59d4584e (patch)
tree7193059a79cce34c37cf57d7e9065fd7e83cc3c3
parentb0acc886069c0054da98059319a84eaf60114d32 (diff)
FreeBSD: Minor code cleanup.
-rw-r--r--bsd-core/drm_bufs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-core/drm_bufs.c b/bsd-core/drm_bufs.c
index 1f83ba38..88445a4d 100644
--- a/bsd-core/drm_bufs.c
+++ b/bsd-core/drm_bufs.c
@@ -213,7 +213,7 @@ int drm_addmap(struct drm_device * dev, unsigned long offset,
DRM_LOCK();
return EINVAL;
}
- map->offset = map->offset + dev->sg->handle;
+ map->offset += dev->sg->handle;
break;
case _DRM_CONSISTENT:
/* Unfortunately, we don't get any alignment specification from