projects
/
project
/
uci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
uci_revert api cleanup
[project/uci.git]
/
cli.c
diff --git
a/cli.c
b/cli.c
index
290dcbf
..
a1f4ce3
100644
(file)
--- a/
cli.c
+++ b/
cli.c
@@
-354,7
+354,7
@@
static int uci_do_section_cmd(int cmd, int argc, char **argv)
ret = uci_rename(ctx, &ptr);
break;
case CMD_REVERT:
- ret = uci_revert(ctx, &ptr
.p, ptr.section, ptr.option
);
+ ret = uci_revert(ctx, &ptr);
break;
case CMD_SET:
ret = uci_set(ctx, ptr.p, ptr.section, ptr.option, ptr.value, NULL);