commit | b903c0b8899b46829a9b80ba55b61079b35940ec | [log] [tgz] |
---|---|---|
author | Changli Gao <xiaosuo@gmail.com> | Tue Oct 26 14:22:50 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Oct 26 16:52:16 2010 -0700 |
tree | c5fd68065bf1fe9d89c08d979fccfea4b78ba4f4 | |
parent | 5e0579812834ab7fa072db4a15ebdff68d62e2e7 [diff] |
lib: fix scnprintf() if @size is == 0 scnprintf() should return 0 if @size is == 0. Update the comment for it, as @size is unsigned. Signed-off-by: Changli Gao <xiaosuo@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>