summaryrefslogtreecommitdiff
path: root/comms/asterisk16/patches/patch-az
diff options
context:
space:
mode:
Diffstat (limited to 'comms/asterisk16/patches/patch-az')
-rw-r--r--comms/asterisk16/patches/patch-az15
1 files changed, 15 insertions, 0 deletions
diff --git a/comms/asterisk16/patches/patch-az b/comms/asterisk16/patches/patch-az
new file mode 100644
index 00000000000..c47fea3b017
--- /dev/null
+++ b/comms/asterisk16/patches/patch-az
@@ -0,0 +1,15 @@
+$NetBSD: patch-az,v 1.1.1.1 2009/06/12 09:04:57 jnemeth Exp $
+
+--- main/manager.c.orig 2009-02-10 13:49:14.000000000 -0800
++++ main/manager.c
+@@ -3084,8 +3084,8 @@ int __manager_event(int category, const
+ if (timestampevents) {
+ now = ast_tvnow();
+ ast_str_append(&buf, 0,
+- "Timestamp: %ld.%06lu\r\n",
+- now.tv_sec, (unsigned long) now.tv_usec);
++ "Timestamp: %jd.%06lu\r\n",
++ (intmax_t) now.tv_sec, (unsigned long) now.tv_usec);
+ }
+ if (manager_debug) {
+ static int seq;