diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-07-07 07:28:47 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-07-07 07:28:47 (GMT) |
commit | 8e89995c58644682302fe9e298a9e30ff38d01a1 (patch) | |
tree | efebb038c81d80c930fc1f52a398797ce8e20539 /sound/pci/hda/hda_eld.c | |
parent | b68785714b67079385188323631b05a8f9093675 (diff) | |
parent | 9c7a083d94656ad6d6f2e03ba90194f2cc5bced5 (diff) | |
download | linux-fsl-qoriq-8e89995c58644682302fe9e298a9e30ff38d01a1.tar.xz |
Merge branch 'fix/hda' into topic/hda
Diffstat (limited to 'sound/pci/hda/hda_eld.c')
-rw-r--r-- | sound/pci/hda/hda_eld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_eld.c b/sound/pci/hda/hda_eld.c index 473cfa1..28ce17d 100644 --- a/sound/pci/hda/hda_eld.c +++ b/sound/pci/hda/hda_eld.c @@ -294,7 +294,7 @@ static int hdmi_update_eld(struct hdmi_eld *e, snd_printd(KERN_INFO "HDMI: out of range MNL %d\n", mnl); goto out_fail; } else - strlcpy(e->monitor_name, buf + ELD_FIXED_BYTES, mnl); + strlcpy(e->monitor_name, buf + ELD_FIXED_BYTES, mnl + 1); for (i = 0; i < e->sad_count; i++) { if (ELD_FIXED_BYTES + mnl + 3 * (i + 1) > size) { |