diff options
Diffstat (limited to 'tests/fcntl')
-rw-r--r-- | tests/fcntl/output.txt | 4 | ||||
-rw-r--r-- | tests/fcntl/src.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/fcntl/output.txt b/tests/fcntl/output.txt index 1077e89b..17f662d0 100644 --- a/tests/fcntl/output.txt +++ b/tests/fcntl/output.txt @@ -13,13 +13,13 @@ errno: 0 F_SETFD: 0 errno: 0 -F_GETFL: 2 +F_GETFL: 0 errno: 0 F_SETFL: 0 errno: 0 -F_GETFL/2: 0x402 +F_GETFL/2: 0x8 errno: 0 F_GETLK: 0 diff --git a/tests/fcntl/src.c b/tests/fcntl/src.c index 1e9a1536..94d6f3c2 100644 --- a/tests/fcntl/src.c +++ b/tests/fcntl/src.c @@ -30,7 +30,7 @@ int main() { printf("\n"); errno = 0; - printf("F_GETFL: %d\n", fcntl(f, F_GETFL)); + printf("F_GETFL: %d\n", fcntl(f, F_GETFL)); // XXX is the result in output correct? printf("errno: %d\n", errno); printf("\n"); errno = 0; @@ -40,7 +40,7 @@ int main() { printf("\n"); errno = 0; - printf("F_GETFL/2: %#x\n", fcntl(f, F_GETFL)); + printf("F_GETFL/2: %#x\n", fcntl(f, F_GETFL)); // XXX is the result in output correct? printf("errno: %d\n", errno); printf("\n"); errno = 0; |