diff options
author | rnoland <rnoland@FreeBSD.org> | 2009-03-17 03:46:37 +0000 |
---|---|---|
committer | rnoland <rnoland@FreeBSD.org> | 2009-03-17 03:46:37 +0000 |
commit | 209dd0d7529870752e9e645a6d404ee9888db58b (patch) | |
tree | 3063753915186239e2cd36c1e3137c23c7428a8d /sys/dev/drm/drm_bufs.c | |
parent | 437af23ffac7fd831915e05abeedd8c78cbc5355 (diff) | |
download | FreeBSD-src-209dd0d7529870752e9e645a6d404ee9888db58b.zip FreeBSD-src-209dd0d7529870752e9e645a6d404ee9888db58b.tar.gz |
Minor code cleanup
MFC after: 3 days
Diffstat (limited to 'sys/dev/drm/drm_bufs.c')
-rw-r--r-- | sys/dev/drm/drm_bufs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm/drm_bufs.c b/sys/dev/drm/drm_bufs.c index f29bbd1..6016c98 100644 --- a/sys/dev/drm/drm_bufs.c +++ b/sys/dev/drm/drm_bufs.c @@ -216,7 +216,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 |