summaryrefslogtreecommitdiff
path: root/bsd/drm_os_netbsd.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2003-03-04 11:41:12 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2003-03-04 11:41:12 +0000
commit51e5f73d2a4020a1bae860057bae2b0eff8e9c70 (patch)
treefef2776867e95d4e7df99f41279dce7c18a2d55e /bsd/drm_os_netbsd.h
parent708ecd0e4b4b1bc2f78dbb4e004bb4d5ec3effe8 (diff)
DRM_FREE/2 patch from Philip Brown
Diffstat (limited to 'bsd/drm_os_netbsd.h')
-rw-r--r--bsd/drm_os_netbsd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd/drm_os_netbsd.h b/bsd/drm_os_netbsd.h
index b1c36196..30ca5e92 100644
--- a/bsd/drm_os_netbsd.h
+++ b/bsd/drm_os_netbsd.h
@@ -89,7 +89,7 @@ MALLOC_DECLARE(DRM(M_DRM));
extern const int DRM(M_DRM) = M_DEVBUF;
#endif /* __NetBSD_Version__ */
#define DRM_MALLOC(size) malloc( size, DRM(M_DRM), M_NOWAIT )
-#define DRM_FREE(pt) free( pt, DRM(M_DRM) )
+#define DRM_FREE(pt,size) free( pt, DRM(M_DRM) )
#define DRM_VTOPHYS(addr) vtophys(addr)
#define DRM_READ8(map, offset) bus_space_read_1( (map)->iot, (map)->ioh, (offset) )