Skip to content

Commit

Permalink
lib/vsprintf.c: remind people to update Documentation/printk-formats.…
Browse files Browse the repository at this point in the history
…txt when adding printk formats

Cc: Randy Dunlap <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
akpm00 authored and torvalds committed Jul 31, 2012
1 parent 76597ff commit 80f548e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/vsprintf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1297,6 +1297,8 @@ int format_decode(const char *fmt, struct printf_spec *spec)
* case.
* %n is ignored
*
* ** Please update Documentation/printk-formats.txt when making changes **
*
* The return value is the number of characters which would
* be generated for the given input, excluding the trailing
* '\0', as per ISO C99. If you want to have the exact
Expand Down

0 comments on commit 80f548e

Please sign in to comment.