summaryrefslogtreecommitdiff
path: root/test/testmmap.c
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2010-03-02 01:28:52 +0000
committerGraham Leggett <minfrin@apache.org>2010-03-02 01:28:52 +0000
commit6964dabd22cab386d08971a24e09276f47b03c24 (patch)
tree95494b902b0cae88733f8f08f5e17ac5fa32235a /test/testmmap.c
parentedcc309d0e36c8f557219bfbfffa75aadddbafa9 (diff)
downloadapr-6964dabd22cab386d08971a24e09276f47b03c24.tar.gz
Use the APR_FOPEN_* constants instead of the deprecated APR_* constants
within code inside the test suite. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@917838 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testmmap.c')
-rw-r--r--test/testmmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testmmap.c b/test/testmmap.c
index ee87b3bfc..4063ba62e 100644
--- a/test/testmmap.c
+++ b/test/testmmap.c
@@ -73,7 +73,7 @@ static void test_file_open(abts_case *tc, void *data)
{
apr_status_t rv;
- rv = apr_file_open(&thefile, file1, APR_READ, APR_UREAD | APR_GREAD, p);
+ rv = apr_file_open(&thefile, file1, APR_FOPEN_READ, APR_UREAD | APR_GREAD, p);
ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
ABTS_PTR_NOTNULL(tc, thefile);
}