From 05551295c5e0946745163f17e5c1d3d41b94bcbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 24 Nov 2009 21:09:03 -0500 Subject: dri2: Use drmGetDeviceNameFromFd() instead of open coded loop. --- src/radeon_dri2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/radeon_dri2.h') 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 -- cgit v1.2.3