]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] em28xx: pass correct buffer size to snprintf
authorChris Rankin <rankincj@yahoo.com>
Sat, 20 Aug 2011 11:08:34 +0000 (08:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 3 Sep 2011 23:49:41 +0000 (20:49 -0300)
commitf38f33395232db1a03d21b992af1714cbffbdec4
tree48e85071fe8234056073c6f2e8c7aad7ed524586
parentc0f856d3f0e0643c617a86756fd58f23766cfe25
[media] em28xx: pass correct buffer size to snprintf

snprintf()'s size parameter includes space for the terminating '\0' character.

Signed-off-by: Chris Rankin <rankincj@yahoo.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-cards.c