Messages in this thread Patch in this message | | | Subject | [PATCH] trivial/sprintf: Fix typo of witdh to width | From | Steven Rostedt <> | Date | Tue, 28 May 2013 15:47:39 -0400 |
| |
hex_string() had a typo in a comment.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Index: linux-trace.git/lib/vsprintf.c =================================================================== --- linux-trace.git.orig/lib/vsprintf.c +++ linux-trace.git/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;
| |