diff --git a/src/afs/VNOPS/afs_vnop_lookup.c b/src/afs/VNOPS/afs_vnop_lookup.c index 7dd104ef8d..f055d1fefd 100644 --- a/src/afs/VNOPS/afs_vnop_lookup.c +++ b/src/afs/VNOPS/afs_vnop_lookup.c @@ -108,7 +108,7 @@ EvalMountData(char type, char *data, afs_uint32 states, afs_uint32 cellnum, 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)