Merge tag 'media/v4.20-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[muen/linux.git] / drivers / media / platform / exynos4-is / fimc-capture.c
index 2164375..3e9fcf4 100644 (file)
@@ -1087,7 +1087,7 @@ static int fimc_cap_enum_input(struct file *file, void *priv,
        fimc_md_graph_unlock(ve);
 
        if (sd)
-               strlcpy(i->name, sd->name, sizeof(i->name));
+               strscpy(i->name, sd->name, sizeof(i->name));
 
        return 0;
 }