[media] drivers/staging/media/go7007: using strlcpy instead of strncpy
authorChen Gang <gang.chen@asianux.com>
Wed, 20 Mar 2013 02:26:09 +0000 (23:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 23 Mar 2013 13:37:18 +0000 (10:37 -0300)
commit1c3fc152b8ebadd59814767e3189c961b73f20c8
tree49d9e586f83572c90d3cafaefb535536938c90ad
parent04e1ac04e54e420908c9ac3e09025f8266dcdf57
[media] drivers/staging/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: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/go7007/snd-go7007.c