volkszaehler/vzlogger — pull request #8 by r00t- (2013-01-23 14:12:31+00:00)
Title: add gcc printf typecheck magic to print() and fix the three warnings found.

/* http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html */
void print(log_level_t lvl, const char *format, void *id, ... )
__attribute__ ((format (printf, 2, 4)));