Fix seg fault on ps3 flash error
[petitboot] / lib / log / log.c
index 41b44cc10ff9e02aa227d7ae0e4ccd3592052265..697af6c0760ec612d328f03de59ee7be1a86b1a2 100644 (file)
@@ -27,6 +27,11 @@ void pb_log_set_stream(FILE *stream)
        logf = stream;
 }
 
+FILE * pb_log_get_stream(void)
+{
+       return logf;
+}
+
 void pb_log_always_flush(int state)
 {
        always_flush = state;