[media] go7007: using strlcpy instead of strncpy
authorChen Gang <gang.chen@asianux.com>
Mon, 25 Mar 2013 09:56:35 +0000 (06:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 25 Mar 2013 11:12:54 +0000 (08:12 -0300)
commit136d9f3a41bc528773430f2723cf27963bbd6fbc
tree3a40c6ff5c00b9985f8963ae59bbc591d5ad91fb
parent70f31c91e12c504b86ce67b2f92d11a19d1e262a
[media] go7007: using strlcpy instead of strncpy

For NUL terminated string, need always set '\0' in the end.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/go7007/saa7134-go7007.c