diff options
Diffstat (limited to 'comms/asterisk/patches/patch-funcs_func__env.c')
-rw-r--r-- | comms/asterisk/patches/patch-funcs_func__env.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/comms/asterisk/patches/patch-funcs_func__env.c b/comms/asterisk/patches/patch-funcs_func__env.c new file mode 100644 index 00000000000..653ddfbaef8 --- /dev/null +++ b/comms/asterisk/patches/patch-funcs_func__env.c @@ -0,0 +1,13 @@ +$NetBSD: patch-funcs_func__env.c,v 1.1 2015/10/27 08:49:01 jnemeth Exp $ + +--- funcs/func_env.c.orig 2015-10-09 22:23:39.000000000 +0000 ++++ funcs/func_env.c +@@ -309,7 +309,7 @@ static int stat_read(struct ast_channel + snprintf(buf, len, "%d", (int) s.st_ctime); + break; + case 'm': +- snprintf(buf, len, "%o", s.st_mode); ++ snprintf(buf, len, "%o", (unsigned int) s.st_mode); + break; + } + } |