summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/sys/t_access.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/regress/lib/libc/sys/t_access.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regress/lib/libc/sys/t_access.c b/src/regress/lib/libc/sys/t_access.c
index 33888c7039..ed6410423b 100644
--- a/src/regress/lib/libc/sys/t_access.c
+++ b/src/regress/lib/libc/sys/t_access.c
@@ -1,5 +1,5 @@
1/* $OpenBSD: t_access.c,v 1.1.1.1 2019/11/19 19:57:03 bluhm Exp $ */ 1/* $OpenBSD: t_access.c,v 1.2 2019/11/22 15:59:53 bluhm Exp $ */
2/* $NetBSD: t_access.c,v 1.2 2017/01/10 22:36:29 christos Exp $ */ 2/* $NetBSD: t_access.c,v 1.3 2019/07/16 17:29:18 martin Exp $ */
3 3
4/*- 4/*-
5 * Copyright (c) 2011 The NetBSD Foundation, Inc. 5 * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
33#include "macros.h" 33#include "macros.h"
34 34
35#include <sys/cdefs.h> 35#include <sys/cdefs.h>
36__RCSID("$NetBSD: t_access.c,v 1.2 2017/01/10 22:36:29 christos Exp $"); 36__RCSID("$NetBSD: t_access.c,v 1.3 2019/07/16 17:29:18 martin Exp $");
37 37
38#include "atf-c.h" 38#include "atf-c.h"
39 39
@@ -62,7 +62,7 @@ ATF_TC_BODY(access_access, tc)
62 size_t i; 62 size_t i;
63 int fd; 63 int fd;
64 64
65 fd = open(path, O_RDONLY | O_CREAT); 65 fd = open(path, O_RDONLY | O_CREAT, 0600);
66 66
67 if (fd < 0) 67 if (fd < 0)
68 return; 68 return;