summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-12-11 22:35:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-12-11 22:35:03 +0000
commit2946450200c5492bbf7d9a173b56de1d1e4422b5 (patch)
treeb0f15b5115424f129120d7a1525bd52f23f01542 /usr.sbin
parentba6dba6ff85ffacc7500ea3e48a2096d58715bed (diff)
incorrect array size calculation, spotted by parfait; ok beck
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/afs/src/appl/pts/pts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/afs/src/appl/pts/pts.c b/usr.sbin/afs/src/appl/pts/pts.c
index 5aebf361bfd..8f0b1a5fb1d 100644
--- a/usr.sbin/afs/src/appl/pts/pts.c
+++ b/usr.sbin/afs/src/appl/pts/pts.c
@@ -787,7 +787,7 @@ create_cmd(int argc, char **argv, int groupp, const char *cmd_name)
if (!groupp)
memmove (&createuserarg[1], &createuserarg[2],
- 6 * sizeof(createuserarg[0]));
+ 5 * sizeof(createuserarg[0]));
if (agetarg (createuserarg, argc, argv, &optind, AARG_AFSSTYLE)) {
aarg_printusage(createuserarg, cmd_name, NULL, AARG_AFSSTYLE);