Browse Source

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>
Steven Rostedt 12 years ago
parent
commit
360603a1be
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/vsprintf.c

+ 1 - 1
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;