summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--glx/glxdricommon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glx/glxdricommon.c b/glx/glxdricommon.c
index daa955db8..9149e0db1 100644
--- a/glx/glxdricommon.c
+++ b/glx/glxdricommon.c
@@ -215,7 +215,7 @@ glxProbeDriver(const char *driverName,
{
int i;
void *driver;
- char filename[128];
+ char filename[PATH_MAX];
const __DRIextension **extensions;
snprintf(filename, sizeof filename, "%s/%s_dri.so",