git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54b6550
)
V4L/DVB (7924): ivtv/cx18: snprintf fixes
author
Jean Delvare
<khali@linux-fr.org>
Tue, 13 May 2008 21:27:15 +0000
(18:27 -0300)
committer
Mauro 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