summaryrefslogtreecommitdiff
path: root/tests/common-cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common-cli.c')
-rw-r--r--tests/common-cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/common-cli.c b/tests/common-cli.c
index aed20b2d53..9cc1626fe8 100644
--- a/tests/common-cli.c
+++ b/tests/common-cli.c
@@ -34,13 +34,13 @@
struct thread_master *master;
int dump_args(struct vty *vty, const char *descr,
- int argc, const char **argv)
+ int argc, struct cmd_token *argv[])
{
int i;
vty_out (vty, "%s with %d args.%s", descr, argc, VTY_NEWLINE);
for (i = 0; i < argc; i++)
{
- vty_out (vty, "[%02d]: %s%s", i, argv[i], VTY_NEWLINE);
+ vty_out (vty, "[%02d]: %s%s", i, argv[i]->arg, VTY_NEWLINE);
}
return CMD_SUCCESS;