Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark the variadic *printf functions with __attribute__((format)).
Using __attribute__((format)) means that compilers supporting the attribute (GCC, clang, icc, perhaps others) will automatically issue warnings when printf arguments are incorrectly typed (i.e. inconsistent with the type specified in the format string).
- Loading branch information