V4L/DVB (7924): ivtv/cx18: snprintf fixes
authorJean Delvare <khali@linux-fr.org>
Tue, 13 May 2008 21:27:15 +0000 (18:27 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:06:37 +0000 (07:06 -0300)
snprinf() takes the trailing \0 into account in its length calculations,
so there is no need to subtract 1 to the buffer size.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

No differences found