summaryrefslogtreecommitdiff
path: root/source/module/monitor_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/module/monitor_timer.c')
-rw-r--r--source/module/monitor_timer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/module/monitor_timer.c b/source/module/monitor_timer.c
index d669b76..f23e330 100644
--- a/source/module/monitor_timer.c
+++ b/source/module/monitor_timer.c
@@ -67,7 +67,6 @@ kernel_watch_timer *get_timer(unsigned long long time_ns) {
}
// if all timer is full
if (i >= MAX_TIMER_NUM) {
- printk(KERN_ERR "No timer available\n");
return NULL;
}
// if a new timer, init it
@@ -97,7 +96,7 @@ kernel_watch_timer *get_timer(unsigned long long time_ns) {
unsigned char timer_add_watch(kernel_watch_timer *timer,
kernel_watch_arg k_watch_arg) {
if (TIMER_FILLED(timer)) {
- printk(KERN_ERR "Timer is full\n");
+ printk(KERN_ERR "ALL Timer is full\n");
return -1;
}
memcpy(&timer->k_watch_args[timer->sentinel], &k_watch_arg,