summaryrefslogtreecommitdiff
path: root/src/base/myTimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/myTimer.c')
-rw-r--r--src/base/myTimer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/myTimer.c b/src/base/myTimer.c
index e2b7fbd..5015cc6 100644
--- a/src/base/myTimer.c
+++ b/src/base/myTimer.c
@@ -124,7 +124,7 @@ void timer_event(list_t *listTimer)
}
break;
default:
- assert(!_("[Error] Bad setting of the timer"));
+ fatal("Bad setting of the timer");
break;
}
}
@@ -146,7 +146,7 @@ void timer_del(list_t *listTimer, int id)
}
}
- fprintf(stderr, _("[Error] Unable to delete event from the timer as it is not present in it [%d]\n"), id);
+ error("Unable to delete event from the timer as it is not present in it [%d]", id);
assert(0);
}