projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add an error code for "operation not supported"
[project/ubus.git]
/
libubus.c
diff --git
a/libubus.c
b/libubus.c
index 3c2772c18d5b23923c33cbd13cf3558cca527186..5c6bd8a3cc196ac1481af896b31cd0e79c9101b6 100644
(file)
--- a/
libubus.c
+++ b/
libubus.c
@@
-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;