summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2013-05-28 19:47:39 (GMT)
committerJiri Kosina <jkosina@suse.cz>2013-05-28 23:14:46 (GMT)
commit360603a1be2c7dc940105575f7dd1b8b82d1c3b3 (patch)
tree58dc2ff7b263d8e9e2d1cd7105d848f5bbe4fb34 /lib
parenta7d4e022ca350bd6a0b45382bb58d907092139dd (diff)
downloadlinux-360603a1be2c7dc940105575f7dd1b8b82d1c3b3.tar.xz
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 e149c64..7d84676 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;