Changeset 301ff30 in mainline for uspace/srv/loader/main.c


Ignore:
Timestamp:
2009-06-03T22:47:08Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
99272a3
Parents:
98000fb
Message:

rename libc's fs_node_t to inode_t to avoid type conflict with VFS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/loader/main.c

    r98000fb r301ff30  
    8282static char **filv = NULL;
    8383/** Buffer holding all preset files */
    84 static fs_node_t *fil_buf = NULL;
     84static inode_t *fil_buf = NULL;
    8585
    8686static elf_info_t prog_info;
     
    243243        }
    244244       
    245         if ((buf_size % sizeof(fs_node_t)) != 0) {
     245        if ((buf_size % sizeof(inode_t)) != 0) {
    246246                ipc_answer_0(callid, EINVAL);
    247247                ipc_answer_0(rid, EINVAL);
     
    268268        ipc_data_write_finalize(callid, fil_buf, buf_size);
    269269       
    270         int count = buf_size / sizeof(fs_node_t);
     270        int count = buf_size / sizeof(inode_t);
    271271       
    272272        /* Allocate filvv */
    273         filv = malloc((count + 1) * sizeof(fs_node_t *));
     273        filv = malloc((count + 1) * sizeof(inode_t *));
    274274       
    275275        if (filv == NULL) {
Note: See TracChangeset for help on using the changeset viewer.