Commit ba511907 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Linux DVB: fix memset() size

Pointed-out-by: default avatarRémi Duraffort <ivoire@videolan.org>
(cherry picked from commit a52bbd192f4c1f2b1e6e1fdeb8c42a0a3a95b6d9)
parent 4cde6f87
......@@ -539,7 +539,7 @@ static int dvb_vset_props (dvb_device_t *d, size_t n, va_list ap)
struct dtv_property buf[n], *prop = buf;
struct dtv_properties props = { .num = n, .props = buf };
memset (prop, 0, sizeof (prop));
memset (buf, 0, sizeof (buf));
while (n > 0)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment