diff options
author | Jeff Trawick <trawick@apache.org> | 2014-01-18 13:40:24 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2014-01-18 13:40:24 +0000 |
commit | 885e5359bf60d7bdc061d94d817e73f2df0014fb (patch) | |
tree | 0f1da1740b5ddc2dd45536977f957f7582c6faf3 /test/tryread.c | |
parent | 12799133a8830f567ef7d0a45c0b61806eae1ea8 (diff) | |
download | apr-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/tryread.c')
-rw-r--r-- | test/tryread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tryread.c b/test/tryread.c index 569d647c3..843abe70a 100644 --- a/test/tryread.c +++ b/test/tryread.c @@ -33,7 +33,7 @@ int main(int argc, const char * const *argv) apr_initialize(); apr_pool_create(&p, NULL); - if (apr_file_open(&file, TESTFILE, APR_FOPEN_WRITE, APR_OS_DEFAULT, p) + if (apr_file_open(&file, TESTFILE, APR_FOPEN_WRITE, APR_FPROT_OS_DEFAULT, p) != APR_SUCCESS) { exit(UNEXPECTED_ERROR); |