Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 2e983c7 in mainline


Ignore:
Timestamp:
2009-10-30T02:27:33Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
master
Children:
ce9d803
Parents:
2b88074b
Message:

set correct IPC return values in libfs_open_node()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libfs/libfs.c

    r2b88074b r2e983c7  
    531531        }
    532532       
    533         ipc_answer_5(rid, EOK, fs_handle, dev_handle, index, ops->size_get(fn),
    534             ops->lnkcnt_get(fn));
     533        ipc_answer_3(rid, EOK, ops->size_get(fn), ops->lnkcnt_get(fn),
     534            (ops->is_file(fn) ? L_FILE : 0) | (ops->is_directory(fn) ? L_DIRECTORY : 0));
    535535       
    536536        (void) ops->node_put(fn);
Note: See TracChangeset for help on using the changeset viewer.