Changeset 8311

Show
Ignore:
Timestamp:
04/27/10 15:44:21 (3 years ago)
Author:
elaine
Message:

hubcap - pvfs2-ls -R drops the last letter off the name of the mount

point in its output. Fix tested for boundry conditions (one letter
mount points)...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/Orange-Branch/src/apps/admin/pvfs2-ls.c

    r7968 r8311  
    963963        } 
    964964 
     965 
    965966        while ((index != substr) && (substr != NULL)) 
    966967        { 
     
    968969            j++; 
    969970        } 
    970         user_opts->start[i][j] = '\0'; 
     971 
     972        user_opts->start[i][++j] = '\0'; 
    971973 
    972974        do_list(user_opts->start[i], pvfs_path[i], fs_id_array[i], user_opts);