diff options
-rw-r--r-- | lib/vsprintf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/vsprintf.c b/lib/vsprintf.c index 44f0e339a947..b025864d2e43 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c | |||
@@ -554,8 +554,7 @@ EXPORT_SYMBOL(snprintf); | |||
554 | * @...: Arguments for the format string | 554 | * @...: Arguments for the format string |
555 | * | 555 | * |
556 | * The return value is the number of characters written into @buf not including | 556 | * The return value is the number of characters written into @buf not including |
557 | * the trailing '\0'. If @size is <= 0 the function returns 0. If the return is | 557 | * the trailing '\0'. If @size is <= 0 the function returns 0. |
558 | * greater than or equal to @size, the resulting string is truncated. | ||
559 | */ | 558 | */ |
560 | 559 | ||
561 | int scnprintf(char * buf, size_t size, const char *fmt, ...) | 560 | int scnprintf(char * buf, size_t size, const char *fmt, ...) |