Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248550
b: refs/heads/master
c: ba1835e
h: refs/heads/master
v: v3
  • Loading branch information
Uwe Kleine-König authored and Jiri Kosina committed Apr 6, 2011
1 parent fc9a08d commit e7b13fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5a3016a61530ea171c1b8ab23d7f651de919e39f
refs/heads/master: ba1835eb30a80a0e8a1c33724735f3a99a957cff
9 changes: 3 additions & 6 deletions trunk/lib/vsprintf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1301,8 +1301,7 @@ int format_decode(const char *fmt, struct printf_spec *spec)
* return is greater than or equal to @size, the resulting
* string is truncated.
*
* Call this function if you are already dealing with a va_list.
* You probably want snprintf() instead.
* If you're not already dealing with a va_list consider using snprintf().
*/
int vsnprintf(char *buf, size_t size, const char *fmt, va_list args)
{
Expand Down Expand Up @@ -1476,8 +1475,7 @@ EXPORT_SYMBOL(vsnprintf);
* the @buf not including the trailing '\0'. If @size is == 0 the function
* returns 0.
*
* Call this function if you are already dealing with a va_list.
* You probably want scnprintf() instead.
* If you're not already dealing with a va_list consider using scnprintf().
*
* See the vsnprintf() documentation for format string extensions over C99.
*/
Expand Down Expand Up @@ -1556,8 +1554,7 @@ EXPORT_SYMBOL(scnprintf);
* into @buf. Use vsnprintf() or vscnprintf() in order to avoid
* buffer overflows.
*
* Call this function if you are already dealing with a va_list.
* You probably want sprintf() instead.
* If you're not already dealing with a va_list consider using sprintf().
*
* See the vsnprintf() documentation for format string extensions over C99.
*/
Expand Down

0 comments on commit e7b13fc

Please sign in to comment.