aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/log.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/log.cc')
-rw-r--r--kernel/log.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/kernel/log.cc b/kernel/log.cc
index b3033024f..cd16bb344 100644
--- a/kernel/log.cc
+++ b/kernel/log.cc
@@ -289,12 +289,8 @@ void log_cmd_error(const char *format, ...)
void log_spacer()
{
- while (log_newline_count < 2) {
- int old_log_newline_count = log_newline_count;
- log("\n");
- if (old_log_newline_count >= log_newline_count)
- break;
- }
+ if (log_newline_count < 2) log("\n");
+ if (log_newline_count < 2) log("\n");
}
void log_push()