diff options
Diffstat (limited to 'comms/asterisk16/patches/patch-ba')
-rw-r--r-- | comms/asterisk16/patches/patch-ba | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/comms/asterisk16/patches/patch-ba b/comms/asterisk16/patches/patch-ba new file mode 100644 index 00000000000..b1a9393ad1e --- /dev/null +++ b/comms/asterisk16/patches/patch-ba @@ -0,0 +1,18 @@ +$NetBSD: patch-ba,v 1.1.1.1 2009/06/12 09:04:57 jnemeth Exp $ + +--- main/sched.c.orig 2008-09-10 09:42:32.000000000 -0700 ++++ main/sched.c +@@ -319,11 +319,11 @@ void ast_sched_dump(const struct sched_c + AST_LIST_TRAVERSE(&con->schedq, q, list) { + struct timeval delta = ast_tvsub(q->when, tv); + +- ast_debug(1, "|%.4d | %-15p | %-15p | %.6ld : %.6ld |\n", ++ ast_debug(1, "|%.4d | %-15p | %-15p | %.6jd : %.6ld |\n", + q->id, + q->callback, + q->data, +- delta.tv_sec, ++ (intmax_t) delta.tv_sec, + (long int)delta.tv_usec); + } + ast_debug(1, "=============================================================\n"); |