add an error code for "operation not supported"

This commit is contained in:
Felix Fietkau 2011-09-05 03:16:59 +02:00
parent 52ce4320ed
commit 24505f172a
2 changed files with 2 additions and 0 deletions

View file

@ -35,6 +35,7 @@ const char *__ubus_strerror[__UBUS_STATUS_LAST] = {
[UBUS_STATUS_NO_DATA] = "No response",
[UBUS_STATUS_PERMISSION_DENIED] = "Permission denied",
[UBUS_STATUS_TIMEOUT] = "Request timed out",
[UBUS_STATUS_NOT_SUPPORTED] = "Operation not supported",
};
static struct blob_buf b;

View file

@ -85,6 +85,7 @@ enum ubus_msg_status {
UBUS_STATUS_NO_DATA,
UBUS_STATUS_PERMISSION_DENIED,
UBUS_STATUS_TIMEOUT,
UBUS_STATUS_NOT_SUPPORTED,
__UBUS_STATUS_LAST
};