Subversion Repositories HelenOS

Rev

Rev 4266 | Rev 4587 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4266 Rev 4268
Line 180... Line 180...
180
    memset(buff, 0, sizeof(buff));
180
    memset(buff, 0, sizeof(buff));
181
 
181
 
182
    if (argc == 1)
182
    if (argc == 1)
183
        getcwd(buff, PATH_MAX);
183
        getcwd(buff, PATH_MAX);
184
    else
184
    else
185
        str_ncpy(buff, argv[1], PATH_MAX);
185
        str_cpy(buff, PATH_MAX, argv[1]);
186
 
186
 
187
    scope = ls_scope(buff);
187
    scope = ls_scope(buff);
188
 
188
 
189
    switch (scope) {
189
    switch (scope) {
190
    case LS_BOGUS:
190
    case LS_BOGUS: