Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/touch/touch.c

    rf77c1c9 r8d2dd7f2  
    123123                if ((!no_create) ||
    124124                    ((no_create) && (vfs_stat_path(buff, &file_stat) == EOK))) {
    125                         int rc = vfs_lookup(buff, WALK_REGULAR | WALK_MAY_CREATE, &fd);
    126                         if (rc != EOK) {
    127                                 fd = -1;
    128                         }
     125                        fd = vfs_lookup(buff, WALK_REGULAR | WALK_MAY_CREATE);
    129126                }
    130127               
Note: See TracChangeset for help on using the changeset viewer.