aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp/app/vppctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp/app/vppctl.c')
-rw-r--r--src/vpp/app/vppctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp/app/vppctl.c b/src/vpp/app/vppctl.c
index 66fe00ab341..b7582c07c1c 100644
--- a/src/vpp/app/vppctl.c
+++ b/src/vpp/app/vppctl.c
@@ -157,7 +157,7 @@ main (int argc, char *argv[])
argc--;
argv++;
- if (argc > 1 && strcmp (argv[0], "-s") == 0)
+ if (argc > 1 && strncmp (argv[0], "-s", 2) == 0)
{
s->config = argv[1];
argc -= 2;