X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=lib%2Flog%2Flog.c;h=44543d03b4ce900368cbeb593e2f08feaf855059;hb=refs%2Ftags%2Fv1.4.2;hp=a4f5c22adde5ba9f54263237acfe17bea3117852;hpb=b08de841267546726f452c89cc326a493ec6549c;p=petitboot diff --git a/lib/log/log.c b/lib/log/log.c index a4f5c22..44543d0 100644 --- a/lib/log/log.c +++ b/lib/log/log.c @@ -41,6 +41,11 @@ void __pb_log_init(FILE *fp, bool _debug) debug = _debug; } +void pb_log_set_debug(bool _debug) +{ + debug = _debug; +} + FILE *pb_log_get_stream(void) { static FILE *null_stream;