aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ypbind/ypbind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ypbind/ypbind.c b/usr.sbin/ypbind/ypbind.c
index bdc3aa4e9177..5d8d055642f2 100644
--- a/usr.sbin/ypbind/ypbind.c
+++ b/usr.sbin/ypbind/ypbind.c
@@ -416,7 +416,7 @@ char **argv;
else if (strcmp("-s", argv[i]) == 0)
ypsecuremode++;
else if (strcmp("-S", argv[i]) == 0 && argc > i)
- yp_restricted_mode(argv[i+1]);
+ yp_restricted_mode(argv[++i]);
else if (strcmp("-m", argv[i]) == 0)
yp_manycast++;
else