diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2009-11-24 21:09:03 -0500 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-11-25 12:29:47 -0500 |
commit | 05551295c5e0946745163f17e5c1d3d41b94bcbf (patch) | |
tree | a38914a0d5505a1a38d83e30c33b1c65b0bd65ff /src/radeon_dri2.h | |
parent | 0061c4db1d3aecdca13efb5133ab8784dc37df95 (diff) |
dri2: Use drmGetDeviceNameFromFd() instead of open coded loop.
Diffstat (limited to 'src/radeon_dri2.h')
-rw-r--r-- | src/radeon_dri2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_dri2.h b/src/radeon_dri2.h index 899a6261..c391e739 100644 --- a/src/radeon_dri2.h +++ b/src/radeon_dri2.h @@ -30,7 +30,7 @@ struct radeon_dri2 { int drm_fd; Bool enabled; - char device_name[64]; + char *device_name; }; #ifdef RADEON_DRI2 |