aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2018-03-26 10:14:38 +0200
committerRaimo Niskanen <[email protected]>2018-03-26 10:14:38 +0200
commitda5915d50f8b5719e2443b5a708a757a909a52a6 (patch)
tree70a4650270f374f80922723152b050bfcd5d1315 /erts/emulator
parent0083a9451f5770a38bb21e78b7d574e5b72ba5f3 (diff)
parente1aa6fab326bdb443f14a08727a33fa52cbb573a (diff)
downloadotp-da5915d50f8b5719e2443b5a708a757a909a52a6.tar.gz
otp-da5915d50f8b5719e2443b5a708a757a909a52a6.tar.bz2
otp-da5915d50f8b5719e2443b5a708a757a909a52a6.zip
Merge branch 'raimo/type-posix-0-overhaul/ERL_550/OTP-14019'
* raimo/type-posix-0-overhaul/ERL_550/OTP-14019: Update types for posix error codes
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/erl_posix_str.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_posix_str.c b/erts/emulator/beam/erl_posix_str.c
index deb7e3e173..7b3e640d3f 100644
--- a/erts/emulator/beam/erl_posix_str.c
+++ b/erts/emulator/beam/erl_posix_str.c
@@ -156,6 +156,9 @@ erl_errno_id(error)
#ifdef EFAULT
case EFAULT: return "efault";
#endif
+#ifdef EFTYPE
+ case EFTYPE: return "eftype";
+#endif
#ifdef EFBIG
case EFBIG: return "efbig";
#endif
@@ -351,6 +354,9 @@ erl_errno_id(error)
#if defined(EOPNOTSUPP) && (!defined(ENOTSUP) || (EOPNOTSUPP != ENOTSUP))
case EOPNOTSUPP: return "eopnotsupp";
#endif
+#ifdef EOVERFLOW
+ case EOVERFLOW: return "eoverflow";
+#endif
#ifdef EPERM
case EPERM: return "eperm";
#endif