aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-25 18:00:33 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-25 18:00:33 +0000
commite718f2f51625072750ed3d2a36fe9e2003aa2478 (patch)
treed225487bde892373c1c2f16b69e94a509cfa18b9 /apps
parent1c852c16ad8f394f8e6b8793286ca199630a1a88 (diff)
Remove unnecessary mmap flag
(Closes issue #13161) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@133709 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 9773dd373..cf71c5f8a 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -1456,7 +1456,7 @@ static int store_file(char *dir, char *mailboxuser, char *mailboxcontext, int ms
fdlen = lseek(fd, 0, SEEK_END);
lseek(fd, 0, SEEK_SET);
printf("Length is %zd\n", fdlen);
- fdm = mmap(NULL, fdlen, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_32BIT, fd, 0);
+ fdm = mmap(NULL, fdlen, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
if (fdm == MAP_FAILED) {
ast_log(LOG_WARNING, "Memory map failed!\n");
ast_odbc_release_obj(obj);