Changeset 179d052 in mainline for uspace/srv/vfs/vfs_ops.c


Ignore:
Timestamp:
2010-06-02T06:59:17Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4acaa7c0
Parents:
1d432f9
Message:

Assert that file is not NULL in vfs_open().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_ops.c

    r1d432f9 r179d052  
    592592        }
    593593        vfs_file_t *file = vfs_file_get(fd);
     594        assert(file);
    594595        file->node = node;
    595596        if (oflag & O_APPEND)
Note: See TracChangeset for help on using the changeset viewer.