summaryrefslogtreecommitdiff
path: root/file_io/os2/filestat.c
diff options
context:
space:
mode:
authorbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2000-04-08 06:58:43 +0000
committerbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2000-04-08 06:58:43 +0000
commitf10220e6e532f69edb47b9f5bee2542c1763d438 (patch)
tree423adb430a4c95a0f3f2aab50e2f627aa067539f /file_io/os2/filestat.c
parent862ea6da4d3ac23e3a122b1c2c770382935668d7 (diff)
downloadlibapr-f10220e6e532f69edb47b9f5bee2542c1763d438.tar.gz
First stage of migrating OS/2 code to new error code mappings, define & use
macro for returning OS/2 error codes. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59815 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/os2/filestat.c')
-rw-r--r--file_io/os2/filestat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/file_io/os2/filestat.c b/file_io/os2/filestat.c
index c4f206cc1..db9fa0081 100644
--- a/file_io/os2/filestat.c
+++ b/file_io/os2/filestat.c
@@ -104,7 +104,7 @@ static ap_status_t handle_type(ap_filetype_e *ftype, HFILE file)
return APR_SUCCESS;
}
- return os2errno(rc);
+ return APR_OS2_STATUS(rc);
}
@@ -133,7 +133,7 @@ ap_status_t ap_getfileinfo(ap_finfo_t *finfo, ap_file_t *thefile)
finfo->protection = 0;
finfo->filetype = APR_NOFILE;
- return os2errno(rc);
+ return APR_OS2_STATUS(rc);
}
@@ -157,5 +157,5 @@ ap_status_t ap_stat(ap_finfo_t *finfo, const char *fname, ap_context_t *cont)
return APR_SUCCESS;
}
- return os2errno(rc);
+ return APR_OS2_STATUS(rc);
}