Changeset 38aaf005 in mainline for uspace/app/tester/vfs/vfs1.c


Ignore:
Timestamp:
2017-03-18T15:36:00Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ad67aa1
Parents:
0b97336
Message:

Callers of open() must use exactly one of O_RDONLY, O_WRONLY and O_RDWR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/vfs/vfs1.c

    r0b97336 r38aaf005  
    7676        TPRINTF("Created directory %s\n", TEST_DIRECTORY);
    7777       
    78         int fd0 = open(TEST_FILE, O_CREAT);
     78        int fd0 = open(TEST_FILE, O_RDWR | O_CREAT);
    7979        if (fd0 < 0)
    8080                return "open() failed";
Note: See TracChangeset for help on using the changeset viewer.