From 283aa5fe7679aa8b604b6d140da11e72cffab310 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Tue, 5 Dec 2017 04:46:19 +0100 Subject: [PATCH] error: map ERROR_NOT_SUPPORTED to EPERM --- src/error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.c b/src/error.c index d05db90..3aec9bb 100644 --- a/src/error.c +++ b/src/error.c @@ -51,7 +51,7 @@ X(ERROR_NOT_LOCKED, EACCES) \ X(ERROR_NOT_READY, EACCES) \ X(ERROR_NOT_SAME_DEVICE, EXDEV) \ - X(ERROR_NOT_SUPPORTED, EOPNOTSUPP) \ + X(ERROR_NOT_SUPPORTED, EPERM) \ X(ERROR_NO_MORE_FILES, ENOENT) \ X(ERROR_NO_SYSTEM_RESOURCES, ENOMEM) \ X(ERROR_OPERATION_ABORTED, EINTR) \