sprintf: hex_string(): fix comment
authorSteven Rostedt <rostedt@goodmis.org>
Tue, 28 May 2013 19:47:39 +0000 (15:47 -0400)
committerJiri Kosina <jkosina@suse.cz>
Tue, 28 May 2013 23:14:46 +0000 (01:14 +0200)
hex_string() had a typo in a comment.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
lib/vsprintf.c

index e149c64..7d84676 100644 (file)
@@ -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;