summaryrefslogtreecommitdiff
path: root/test/testmmap.c
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2014-01-18 13:40:24 +0000
committerJeff Trawick <trawick@apache.org>2014-01-18 13:40:24 +0000
commit885e5359bf60d7bdc061d94d817e73f2df0014fb (patch)
tree0f1da1740b5ddc2dd45536977f957f7582c6faf3 /test/testmmap.c
parent12799133a8830f567ef7d0a45c0b61806eae1ea8 (diff)
downloadapr-885e5359bf60d7bdc061d94d817e73f2df0014fb.tar.gz
stop using deprecated versions of APR_FOPEN_* and APR_FPROT_*
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1559343 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testmmap.c')
-rw-r--r--test/testmmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/testmmap.c b/test/testmmap.c
index 140d5c32b..aeff1a66a 100644
--- a/test/testmmap.c
+++ b/test/testmmap.c
@@ -84,7 +84,8 @@ static void test_file_open(abts_case *tc, void *data)
{
apr_status_t rv;
- rv = apr_file_open(&thefile, file1, APR_FOPEN_READ, APR_UREAD | APR_GREAD, p);
+ rv = apr_file_open(&thefile, file1, APR_FOPEN_READ,
+ APR_FPROT_UREAD | APR_FPROT_GREAD, p);
ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
ABTS_PTR_NOTNULL(tc, thefile);
}