lib/string/strftime.h: STRFTIME(): Tighten macro definition
strftime(3) is not a variadic function; there's exactly one argument after the format string. Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
committed by
Serge Hallyn
parent
60da937c2f
commit
3dc840a56a
@@ -13,7 +13,7 @@
|
||||
#include "sizeof.h"
|
||||
|
||||
|
||||
#define STRFTIME(dst, fmt, ...) strftime(dst, NITEMS(dst), fmt, __VA_ARGS__)
|
||||
#define STRFTIME(dst, fmt, tm) strftime(dst, NITEMS(dst), fmt, tm)
|
||||
|
||||
|
||||
#endif // include guard
|
||||
|
||||
Reference in New Issue
Block a user