mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
53f91dc1f7
strlcpy() returns the total length of the string they tried to create, so we should not use its return value without any check. scnprintf() returns the number of characters written into @buf not including the trailing '\0', so use it instead here. Signed-off-by: Changli Gao <xiaosuo@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
eth.c | ||
Makefile | ||
pe2.c |