summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/error.c b/lib/error.c
index 71ae722..b94a235 100644
--- a/lib/error.c
+++ b/lib/error.c
@@ -100,6 +100,7 @@ int nl_syserr2nlerr(int error)
case EOPNOTSUPP: return NLE_OPNOTSUPP;
case EPERM: return NLE_PERM;
case EBUSY: return NLE_BUSY;
+ case ERANGE: return NLE_RANGE;
default: return NLE_FAILURE;
}
}