summaryrefslogtreecommitdiff
path: root/core/error_codes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/error_codes.rs')
-rw-r--r--core/error_codes.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/error_codes.rs b/core/error_codes.rs
index b34cbe639..6a8dd9fa3 100644
--- a/core/error_codes.rs
+++ b/core/error_codes.rs
@@ -94,6 +94,7 @@ fn get_os_error_code(errno: i32) -> &'static str {
libc::ENOMEM => "ENOMEM",
libc::ENOSPC => "ENOSPC",
libc::ENOTCONN => "ENOTCONN",
+ libc::ENOTDIR => "ENOTDIR",
libc::ENOTEMPTY => "ENOTEMPTY",
libc::ENOTSOCK => "ENOTSOCK",
libc::ENOTSUP => "ENOTSUP",