summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2013-05-28 21:47:39 +0200
committerJiri Kosina <jkosina@suse.cz>2013-05-29 01:14:46 +0200
commit360603a1be2c7dc940105575f7dd1b8b82d1c3b3 (patch)
tree58dc2ff7b263d8e9e2d1cd7105d848f5bbe4fb34 /lib
parentDocumentation/kdump: Remove TODO in this document (diff)
downloadlinux-360603a1be2c7dc940105575f7dd1b8b82d1c3b3.tar.xz
linux-360603a1be2c7dc940105575f7dd1b8b82d1c3b3.zip
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
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;