clientchar_t *cell = NULL;
cm_volume_t *volp = NULL;
cm_cell_t *cellp = NULL;
+ size_t len;
/*
* The fs command allows the user to specify partial cell names on NT. These must
cellp = cm_FindCellByID(dscp->fid.cell, CM_FLAG_NOPROBE);
}
+ /* remove the trailing dot if it is present */
+ len = strlen(fsvolume);
+ if (len > 1 && fsvolume[len-1] == '.')
+ fsvolume[len-1] = '\0';
+
/* validate the target info */
if (cm_VolNameIsID(fsvolume)) {
code = cm_FindVolumeByID(cellp, atoi(fsvolume), userp, reqp,