summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/sys/t_truncate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libc/sys/t_truncate.c')
-rw-r--r--src/regress/lib/libc/sys/t_truncate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libc/sys/t_truncate.c b/src/regress/lib/libc/sys/t_truncate.c
index 1d059af5f5..7d3dedb7b8 100644
--- a/src/regress/lib/libc/sys/t_truncate.c
+++ b/src/regress/lib/libc/sys/t_truncate.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: t_truncate.c,v 1.1.1.1 2019/11/19 19:57:04 bluhm Exp $ */ 1/* $OpenBSD: t_truncate.c,v 1.2 2021/10/24 21:24:20 deraadt Exp $ */
2/* $NetBSD: t_truncate.c,v 1.3 2017/01/13 20:03:51 christos Exp $ */ 2/* $NetBSD: t_truncate.c,v 1.3 2017/01/13 20:03:51 christos Exp $ */
3 3
4/*- 4/*-
@@ -96,7 +96,7 @@ ATF_TC_BODY(ftruncate_err, tc)
96{ 96{
97 int fd; 97 int fd;
98 98
99 fd = open("/etc/passwd", O_RDONLY, 0400); 99 fd = open("/etc/passwd", O_RDONLY);
100 ATF_REQUIRE(fd >= 0); 100 ATF_REQUIRE(fd >= 0);
101 101
102 errno = 0; 102 errno = 0;