Skip to contentSkip to conversation

trivial/sprintf: Fix typo of witdh to width

PATCH In review Steven Rostedt 2 participants 2 messages May 28, 2013 – May 29, 2013

Subsystems (2)
lore
Share & tools
lore

Steven Rostedt

author maintainer
#0 lore raw

PATCH 1/1 trivial/sprintf: Fix typo of witdh to width

hex_string() had a typo in a comment.

lib/vsprintf.c +1 -1
Index: 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;
 
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Steven Rostedt

hex_string() had a typo in a comment.

Quoted 17 lines

Index: linux-trace.git/lib/vsprintf.c
===================================================================

lib/vsprintf.c +1 -2
@@ -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;
 
 
 
--
Quoted 4 lines

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

--
With Best Regards,
Andy Shevchenko