diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-14 01:03:00 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-14 01:03:00 +0000 |
commit | 9881db1cdfab70b538cdd0ad234dcafbf867b62d (patch) | |
tree | 6fa8545e99a4ee9508d5edbc7171418c41667198 | |
parent | 431fbfba72c77eb4dd9a529b492410b7161cafe4 (diff) | |
download | mediapointer-dvb-s2-9881db1cdfab70b538cdd0ad234dcafbf867b62d.tar.gz mediapointer-dvb-s2-9881db1cdfab70b538cdd0ad234dcafbf867b62d.tar.bz2 |
Fixed typo in sizeof() causing NULL pointer OOPS
From: Oldrich Jedlicka <oldium.pro@seznam.cz>
Signed-off-by: Oldřich Jedlička <oldium.pro@seznam.cz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-cards.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-cards.c b/linux/drivers/media/video/saa7134/saa7134-cards.c index 65d3909d4..d4c432cb3 100644 --- a/linux/drivers/media/video/saa7134/saa7134-cards.c +++ b/linux/drivers/media/video/saa7134/saa7134-cards.c @@ -6151,7 +6151,7 @@ static void saa7134_tuner_setup(struct saa7134_dev *dev) struct v4l2_priv_tun_config xc2028_cfg; struct xc2028_ctrl ctl; - memset(&xc2028_cfg, 0, sizeof(ctl)); + memset(&xc2028_cfg, 0, sizeof(xc2028_cfg)); memset(&ctl, 0, sizeof(ctl)); ctl.fname = XC2028_DEFAULT_FIRMWARE; |