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 e149c6416384a2a335783f0db538e030e90e6e69..7d8467645d2e49d24f6264a0a1ac62822469b31d 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;