Subversion Repositories HelenOS

Rev

Rev 3813 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3813 Rev 4266
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 ++;