diff options
| author | zhangyang <[email protected]> | 2023-11-10 05:59:57 +0000 |
|---|---|---|
| committer | zhangyang <[email protected]> | 2023-11-10 05:59:57 +0000 |
| commit | 29517e160cac927a74bbd9880baeb06ce3d04a69 (patch) | |
| tree | 64bf0da09c99527c8a893a82377fd92763ae238c | |
| parent | ba43054e20cfa253199c954f08ca455575645e94 (diff) | |
adjust printk
| -rw-r--r-- | watch_module_lib.c | 2 |
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)); |
