summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/mt20xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/tuners/mt20xx.c')
-rw-r--r--drivers/media/tuners/mt20xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/tuners/mt20xx.c b/drivers/media/tuners/mt20xx.c
index 129bf8e1aff8..8b4ce84b6914 100644
--- a/drivers/media/tuners/mt20xx.c
+++ b/drivers/media/tuners/mt20xx.c
@@ -636,7 +636,7 @@ struct dvb_frontend *microtune_attach(struct dvb_frontend *fe,
return NULL;
}
- strlcpy(fe->ops.tuner_ops.info.name, name,
+ strscpy(fe->ops.tuner_ops.info.name, name,
sizeof(fe->ops.tuner_ops.info.name));
tuner_info("microtune %s found, OK\n",name);
return fe;