The argument to -splitcache is in as->parms[34], not [30].
Change-Id: I4d7be16a1ad99a03025c80f9782c4f678da868ae
Found-by: clang static analyzer
Reviewed-on: http://gerrit.openafs.org/5169
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
else {
ropct = atoi((char *)c + 1);
*c = '\0';
- rwpct = atoi((char *)as->parms[30].items->data);
+ rwpct = atoi((char *)as->parms[34].items->data);
if ((rwpct != 0) && (ropct != 0) && (ropct + rwpct == 100)) {
/* -splitcache */
enable_splitcache = 1;