summaryrefslogtreecommitdiff
path: root/kern/llsync.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-06-10 17:24:04 +0200
committerRichard Braun <rbraun@sceen.net>2017-06-10 17:38:47 +0200
commitcc3bcf9dd4b43fccc5bad9d908cbdfd97e415707 (patch)
tree4bd7aaf9767dea632a1338041f0c6fdd0624f867 /kern/llsync.c
parent6ffd7d35391a8b38b87c41482e29de0e27a6d886 (diff)
Use log functions where appropriate
Diffstat (limited to 'kern/llsync.c')
-rw-r--r--kern/llsync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/llsync.c b/kern/llsync.c
index 1c5086f3..4704e806 100644
--- a/kern/llsync.c
+++ b/kern/llsync.c
@@ -35,12 +35,12 @@
#include <assert.h>
#include <stdbool.h>
#include <stddef.h>
-#include <stdio.h>
#include <kern/condition.h>
#include <kern/cpumap.h>
#include <kern/init.h>
#include <kern/list.h>
+#include <kern/log.h>
#include <kern/llsync.h>
#include <kern/llsync_i.h>
#include <kern/macros.h>
@@ -122,7 +122,7 @@ llsync_process_global_checkpoint(void)
/* TODO Handle hysteresis */
if (!llsync_data.no_warning && (nr_works >= LLSYNC_NR_PENDING_WORKS_WARN)) {
llsync_data.no_warning = 1;
- printf("llsync: warning: large number of pending works\n");
+ log_warning("llsync: large number of pending works\n");
}
if (llsync_data.nr_registered_cpus == 0) {