changeset 154:a3de133fce62

common: define NERR_ENOTSUP Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Sun, 18 Oct 2015 16:07:40 -0400
parents 2a8c2cf48674
children 716577380451
files src/common/error.c src/common/include/nomad/rpc.h
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/common/error.c	Sun Oct 18 15:53:41 2015 -0400
+++ b/src/common/error.c	Sun Oct 18 16:07:40 2015 -0400
@@ -46,6 +46,7 @@
 		MAP_ERRNO(ENOMEM);
 		MAP_ERRNO(ENOSPC);
 		MAP_ERRNO(ENOTDIR);
+		MAP_ERRNO(ENOTSUP);
 		MAP_ERRNO(ENXIO);
 		MAP_ERRNO(EPERM);
 		MAP_ERRNO(EPROTO);
--- a/src/common/include/nomad/rpc.h	Sun Oct 18 15:53:41 2015 -0400
+++ b/src/common/include/nomad/rpc.h	Sun Oct 18 16:07:40 2015 -0400
@@ -53,6 +53,7 @@
 #define NERR_EISDIR            21
 #define NERR_EINVAL            22
 #define NERR_ENOSPC            28
+#define NERR_ENOTSUP           48
 #define NERR_EPROTO            71
 #define NERR_EALREADY          149