aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2013-05-28 15:47:39 -0400
committerJiri Kosina <jkosina@suse.cz>2013-05-28 19:14:46 -0400
commit360603a1be2c7dc940105575f7dd1b8b82d1c3b3 (patch)
tree58dc2ff7b263d8e9e2d1cd7105d848f5bbe4fb34 /lib
parenta7d4e022ca350bd6a0b45382bb58d907092139dd (diff)
sprintf: hex_string(): fix comment
hex_string() had a typo in a comment. Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'lib')
-rw-r--r--lib/vsprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index e149c6416384..7d8467645d2e 100644
--- a/lib/vsprintf.c
+++ b/lib/vsprintf.c
@@ -670,7 +670,7 @@ static noinline_for_stack
670char *hex_string(char *buf, char *end, u8 *addr, struct printf_spec spec, 670char *hex_string(char *buf, char *end, u8 *addr, struct printf_spec spec,
671 const char *fmt) 671 const char *fmt)
672{ 672{
673 int i, len = 1; /* if we pass '%ph[CDN]', field witdh remains 673 int i, len = 1; /* if we pass '%ph[CDN]', field width remains
674 negative value, fallback to the default */ 674 negative value, fallback to the default */
675 char separator; 675 char separator;
676 676