summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhangyang <[email protected]>2023-11-10 05:59:57 +0000
committerzhangyang <[email protected]>2023-11-10 05:59:57 +0000
commit29517e160cac927a74bbd9880baeb06ce3d04a69 (patch)
tree64bf0da09c99527c8a893a82377fd92763ae238c
parentba43054e20cfa253199c954f08ca455575645e94 (diff)
adjust printk
-rw-r--r--watch_module_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/watch_module_lib.c b/watch_module_lib.c
index 978211d..62c5faf 100644
--- a/watch_module_lib.c
+++ b/watch_module_lib.c
@@ -186,7 +186,7 @@ enum hrtimer_restart hrtimer_hander(struct hrtimer *timer)
{
printk("-------------------------------------\n");
printk("-------------watch monitor-----------\n");
- printk("Threshold reached:\n %s\n", buffer);
+ printk("Threshold reached:\n %s", buffer);
print_all_task_stack();
// restart timer after 1s
hrtimer_forward(timer, timer->base->get_time(), ktime_set(1, 0));