aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/klogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/pending/klogd.c')
-rw-r--r--toys/pending/klogd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/pending/klogd.c b/toys/pending/klogd.c
index 517edafd..c888e9e7 100644
--- a/toys/pending/klogd.c
+++ b/toys/pending/klogd.c
@@ -33,7 +33,7 @@ GLOBALS(
)
static void set_log_level(int level)
-{
+{
if (CFG_KLOGD_SOURCE_RING_BUFFER)
klogctl(8, NULL, level);
else {
@@ -47,7 +47,7 @@ static void set_log_level(int level)
static void handle_signal(int sig)
{
if (CFG_KLOGD_SOURCE_RING_BUFFER) {
- klogctl(7, NULL, 0);
+ klogctl(7, NULL, 0);
klogctl(0, NULL, 0);
} else {
set_log_level(7);