summaryrefslogtreecommitdiffhomepage
path: root/lib/uci.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/uci.c')
-rw-r--r--lib/uci.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/uci.c b/lib/uci.c
index 86bf247..1b4c5db 100644
--- a/lib/uci.c
+++ b/lib/uci.c
@@ -733,6 +733,9 @@ uc_uci_pkg_command(struct uc_state *s, uint32_t off, struct json_object *args, e
ptr.p = p;
rv = uci_revert(*c, &ptr);
break;
+
+ default:
+ rv = UCI_ERR_INVAL;
}
if (rv != UCI_OK)