diff options
Diffstat (limited to 'pr/src/md/unix/unix_errors.c')
-rw-r--r-- | pr/src/md/unix/unix_errors.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pr/src/md/unix/unix_errors.c b/pr/src/md/unix/unix_errors.c index 1ce52e68..055961ee 100644 --- a/pr/src/md/unix/unix_errors.c +++ b/pr/src/md/unix/unix_errors.c @@ -108,6 +108,9 @@ void _MD_unix_map_default_error(int err) case EFBIG: prError = PR_FILE_TOO_BIG_ERROR; break; + case EHOSTUNREACH: + prError = PR_HOST_UNREACHABLE_ERROR; + break; case EINPROGRESS: prError = PR_IN_PROGRESS_ERROR; break; @@ -847,3 +850,10 @@ void _MD_solaris_map_sendfile_error(int err) _MD_unix_map_default_error(err) ; } #endif /* SOLARIS */ + +#ifdef LINUX +void _MD_linux_map_sendfile_error(int err) +{ + _MD_unix_map_default_error(err) ; +} +#endif /* LINUX */ |