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

Changeset 179d052 in mainline


Ignore:
Timestamp:
2010-06-02T06:59:17Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
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.