summaryrefslogtreecommitdiffstats
path: root/lib/vsprintf.c
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2013-05-28 15:47:39 -0400
committerJiri Kosina <jkosina@suse.cz>2013-05-29 01:14:46 +0200
commit360603a1be2c7dc940105575f7dd1b8b82d1c3b3 (patch)
tree58dc2ff7b263d8e9e2d1cd7105d848f5bbe4fb34 /lib/vsprintf.c
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/vsprintf.c')
-rw-r--r--lib/vsprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index e149c641638..7d8467645d2 100644
--- a/lib/vsprintf.c
+++ b/lib/vsprintf.c
@@ -670,7 +670,7 @@ static noinline_for_stack
char *hex_string(char *buf, char *end, u8 *addr, struct printf_spec spec,
const char *fmt)
{
- int i, len = 1; /* if we pass '%ph[CDN]', field witdh remains
+ int i, len = 1; /* if we pass '%ph[CDN]', field width remains
negative value, fallback to the default */
char separator;