[media] coda: use strlcpy instead of snprintf
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 24 Mar 2015 17:30:50 +0000 (14:30 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 10 Apr 2015 13:05:50 +0000 (10:05 -0300)
commitbf249daf079492d60306ad1c5c78d53255ff15a3
treeb4e74297fa1293f30b2094c2be8e4fd4f86817fb
parent2b7684683d4b6e41717b9d1354d4080fdee970fc
[media] coda: use strlcpy instead of snprintf

There is no need to take the detour through a "%s" format string
to create a copy of a string.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/coda/coda-common.c