From 7f99ccb36d6531884995a38d0e36bd8cb3db7817 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Tue, 29 Jan 2013 22:34:23 +0100 Subject: [PATCH] Add EXDEV. --- libc/decl/errno_values.h | 1 + libc/strerror.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/libc/decl/errno_values.h b/libc/decl/errno_values.h index e1623bef..098dfdfa 100644 --- a/libc/decl/errno_values.h +++ b/libc/decl/errno_values.h @@ -39,6 +39,7 @@ #define ENODRV 47 #define E2BIG 48 #define EFBIG 49 +#define EXDEV 50 #define EOPNOTSUPP ENOTSUP diff --git a/libc/strerror.cpp b/libc/strerror.cpp index 8e3d32f2..b8b5152e 100644 --- a/libc/strerror.cpp +++ b/libc/strerror.cpp @@ -68,6 +68,7 @@ extern "C" const char* sortix_strerror(int errnum) case ENODRV: return "No such driver"; case E2BIG: return "Argument list too long"; case EFBIG: return "File too large"; + case EXDEV: return "Improper link"; default: return "Unknown error condition"; } }