Subversion Repositories HelenOS

Rev

Rev 4341 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4341 Rev 4348
Line 78... Line 78...
78
            cmdname, cmdname);
78
            cmdname, cmdname);
79
        return CMD_FAILURE;
79
        return CMD_FAILURE;
80
    }
80
    }
81
 
81
 
82
    for (i = 1; i < argc; i ++) {
82
    for (i = 1; i < argc; i ++) {
83
        buff = strdup(argv[i]);
83
        buff = str_dup(argv[i]);
84
        dirp = opendir(buff);
84
        dirp = opendir(buff);
85
        if (dirp) {
85
        if (dirp) {
86
            cli_error(CL_ENOTSUP, "%s is a directory", buff);
86
            cli_error(CL_ENOTSUP, "%s is a directory", buff);
87
            closedir(dirp);
87
            closedir(dirp);
88
            ret ++;
88
            ret ++;