i2c: strncpy does not null terminate string

strlcpy() will always null terminate the string.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
This commit is contained in:
Roel Kluin 2009-07-17 15:24:00 +02:00 • committed by Ben Dooks
commit 783fd6fa4c