projects
/
petitboot
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Log to stderr, allow --log=-
[petitboot]
/
lib
/
log
/
log.h
diff --git
a/lib/log/log.h
b/lib/log/log.h
index 2a5d375d8cdfe38951042daa46e9458d178f1ade..6f44bea0d38ac1fd9bd543676757ce47af788a64 100644
(file)
--- a/
lib/log/log.h
+++ b/
lib/log/log.h
@@
-3,7
+3,7
@@
#include <stdio.h>
#include <stdio.h>
-void pb_log(const char *fmt, ...);
+void
__attribute__ ((format (printf, 1, 2)))
pb_log(const char *fmt, ...);
void pb_log_set_stream(FILE *stream);
FILE * pb_log_get_stream(void);
void pb_log_always_flush(int state);
void pb_log_set_stream(FILE *stream);
FILE * pb_log_get_stream(void);
void pb_log_always_flush(int state);