diff options
Diffstat (limited to 'drivers/media/video/pwc/pwc-v4l.c')
-rw-r--r-- | drivers/media/video/pwc/pwc-v4l.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/pwc/pwc-v4l.c b/drivers/media/video/pwc/pwc-v4l.c index 2876ce08451..bdb4ced5749 100644 --- a/drivers/media/video/pwc/pwc-v4l.c +++ b/drivers/media/video/pwc/pwc-v4l.c | |||
@@ -1033,7 +1033,7 @@ long pwc_video_do_ioctl(struct file *file, unsigned int cmd, void *arg) | |||
1033 | if (std->index != 0) | 1033 | if (std->index != 0) |
1034 | return -EINVAL; | 1034 | return -EINVAL; |
1035 | std->id = V4L2_STD_UNKNOWN; | 1035 | std->id = V4L2_STD_UNKNOWN; |
1036 | strncpy(std->name, "webcam", sizeof(std->name)); | 1036 | strlcpy(std->name, "webcam", sizeof(std->name)); |
1037 | return 0; | 1037 | return 0; |
1038 | } | 1038 | } |
1039 | 1039 | ||