Skip to content
Commit fcdf818d authored by David S. Miller's avatar David S. Miller
Browse files

Merge branch 'sparc-scnprintf'



Chen Zhou says:

====================
sparc: use scnprintf() in show() methods

snprintf() returns the number of bytes that would be written,
which may be greater than the the actual length to be written.

show() methods should return the number of bytes printed into the
buffer. This is the return value of scnprintf().
====================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents 9ef391bd 117e2cb3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment