parse vnodes from magic mount objects correctly
Change-Id: Id46afa7e6b1fa260d56ce54c8bffe2662b7c447d
Reviewed-on: http://gerrit.openafs.org/1488
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
if (cpos) {
*cpos = ':';
vnoid = 0;
- if (!*x) /* allow vno with numeric volid only */
+ if (*x == *cpos) /* allow vno with numeric volid only */
for (x = (cpos + 1); *x >= '0' && *x <= '9'; x++)
vnoid = (vnoid * 10) + (*x - '0');
if (*x)