summaryrefslogtreecommitdiff
path: root/main/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/sched.c')
-rw-r--r--main/sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/sched.c b/main/sched.c
index ee9d43125..6cc62861b 100644
--- a/main/sched.c
+++ b/main/sched.c
@@ -334,7 +334,7 @@ const void *ast_sched_find_data(struct sched_context *con, int id)
* would be two or more in the list with that
* id.
*/
-int ast_sched_del(struct sched_context *con, int id)
+int _ast_sched_del(struct sched_context *con, int id, const char *file, int line, const char *function)
{
struct sched *s, tmp;
@@ -373,7 +373,7 @@ int ast_sched_del(struct sched_context *con, int id)
if (!s) {
ast_debug(1, "Attempted to delete nonexistent schedule entry %d!\n", id);
- ast_assert(s != NULL);
+ _ast_assert(0, "s != NULL", file, line, function);
return -1;
}