commit | 27e0955184a70c4bd4542ee2da18c749b4f43345 | [log] [tgz] |
---|---|---|
author | roel kluin <roel.kluin@gmail.com> | Fri Jul 17 08:01:54 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 20 08:02:58 2009 -0700 |
tree | 34e2237c397d591ddb53eea5d421052ee617c1f1 | |
parent | b902e5735272b6a79fe2853180b2ad6658aa9678 [diff] |
b44: strncpy does not null terminate string strlcpy() will always null terminate the string. Also use the sizeof(version) to strlcopy() the version string. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>