diff options
author | Robert Noland <rnoland@2hip.net> | 2008-09-20 18:34:57 -0400 |
---|---|---|
committer | Robert Noland <rnoland@2hip.net> | 2008-10-01 20:49:03 -0400 |
commit | 81952c7dd18d8fc4617fe4cb761fdf830de5244f (patch) | |
tree | a06ad21e5e4eb6c211f5a7b30a8b1275a4adef72 /bsd-core/drm_drawable.c | |
parent | 073cb5ee1d12a7f1a18b7d732f346c16eb740f49 (diff) |
Use devfs_get_cdevpriv in mmap as well.
d_mmap gets called twice and we are only able to associate the file_priv
during the first call. The second call will return EBADF and we need to
assume that the call was succesful. d_mmap will not tolerate having an
error returned for the second call.
Diffstat (limited to 'bsd-core/drm_drawable.c')
0 files changed, 0 insertions, 0 deletions