]> git.ozlabs.org Git - petitboot/blobdiff - lib/log/log.c
lib/log: Always flush after writing logs
[petitboot] / lib / log / log.c
index b250a9ec26e71beea0761a44ce0efac729b50b2b..a4f5c22adde5ba9f54263237acfe17bea3117852 100644 (file)
@@ -12,8 +12,7 @@ static void __log(const char *fmt, va_list ap)
        if (!logf)
                return;
        vfprintf(logf, fmt, ap);
-       if (debug)
-               fflush(logf);
+       fflush(logf);
 }
 
 void pb_log(const char *fmt, ...)