[media] timblogiw: too large value for strncpy()
authorDan Carpenter <error27@gmail.com>
Mon, 20 Dec 2010 12:53:16 +0000 (09:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:17:04 +0000 (08:17 -0200)
commitdcd745b723efc875ec5a8f44be028bd0704b12d6
treebdd2d0cb614d4359ba2cbed11be45a47608815be
parentef330dc2e794c932fcbde3f8abd3f12780d78b47
[media] timblogiw: too large value for strncpy()

This is a copy and paste error.  It should be using sizeof(cap->driver)
instead of sizeof(cap->card).

Signed-off-by: Dan Carpenter <error27@gmail.com>
Cc: Richard Rojförs <richard.rojfors@pelagicore.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/timblogiw.c