summaryrefslogtreecommitdiffstats
path: root/lib/log/log.h
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2009-08-25 17:25:12 -0700
committerGeoff Levand <geoffrey.levand@am.sony.com>2009-08-25 17:40:00 -0700
commitd29c9620cd853d9ead31075f237f53b9e6301a52 (patch)
tree5b02e75bc0e298c4d3656264f4b91e6da5e5e462 /lib/log/log.h
parent3367ca766bedda62e94a39e672e107aff6f3b144 (diff)
downloadtalos-petitboot-d29c9620cd853d9ead31075f237f53b9e6301a52.tar.gz
talos-petitboot-d29c9620cd853d9ead31075f237f53b9e6301a52.zip
Fix seg fault on ps3 flash error
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Diffstat (limited to 'lib/log/log.h')
-rw-r--r--lib/log/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/log/log.h b/lib/log/log.h
index 2a5d375..6f44bea 100644
--- a/lib/log/log.h
+++ b/lib/log/log.h
@@ -3,7 +3,7 @@
#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);
OpenPOWER on IntegriCloud