From d29c9620cd853d9ead31075f237f53b9e6301a52 Mon Sep 17 00:00:00 2001 From: Geoff Levand Date: Tue, 25 Aug 2009 17:25:12 -0700 Subject: Fix seg fault on ps3 flash error Signed-off-by: Geoff Levand --- lib/log/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/log') 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 -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); -- cgit v1.2.1