summaryrefslogtreecommitdiff
path: root/tests/kms_hdmi_inject.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms_hdmi_inject.c')
-rw-r--r--tests/kms_hdmi_inject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_hdmi_inject.c b/tests/kms_hdmi_inject.c
index cb916ace..22570a4b 100644
--- a/tests/kms_hdmi_inject.c
+++ b/tests/kms_hdmi_inject.c
@@ -170,7 +170,7 @@ eld_is_valid(void)
continue;
while ((snd_hda = readdir(dir))) {
- char fpath[128];
+ char fpath[PATH_MAX];
if (*snd_hda->d_name == '.' ||
strstr(snd_hda->d_name, "eld") == 0)