summaryrefslogtreecommitdiffstats
path: root/lib/rational.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-06-05 14:58:46 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 17:53:42 -0300
commite7d712cc992a3f22151f15263cbacbb2d38dd371 (patch)
treea1b417bfb6213d1f4ada160ab1cdccba489e36aa /lib/rational.c
parent2f2ea0f3f25effeaf0d27f5aaad591281fad27e2 (diff)
[media] gspca: s/strncpy/strlcpy/
Just like in userspace strncpy does not guarantee 0 termination. Use strlcpy instead which does guarantee 0 termination. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'lib/rational.c')
0 files changed, 0 insertions, 0 deletions