summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/sys/t_link.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libc/sys/t_link.c')
-rw-r--r--src/regress/lib/libc/sys/t_link.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/regress/lib/libc/sys/t_link.c b/src/regress/lib/libc/sys/t_link.c
index 291fd9cda4..12dbd8b595 100644
--- a/src/regress/lib/libc/sys/t_link.c
+++ b/src/regress/lib/libc/sys/t_link.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: t_link.c,v 1.1.1.1 2019/11/19 19:57:03 bluhm Exp $ */ 1/* $OpenBSD: t_link.c,v 1.2 2021/12/13 16:56:48 deraadt Exp $ */
2/* $NetBSD: t_link.c,v 1.3 2017/01/13 20:42:36 christos Exp $ */ 2/* $NetBSD: t_link.c,v 1.3 2017/01/13 20:42:36 christos Exp $ */
3 3
4/*- 4/*-
@@ -32,10 +32,6 @@
32 32
33#include "macros.h" 33#include "macros.h"
34 34
35#include <sys/cdefs.h>
36__RCSID("$NetBSD: t_link.c,v 1.3 2017/01/13 20:42:36 christos Exp $");
37
38#include <sys/param.h>
39#include <sys/stat.h> 35#include <sys/stat.h>
40 36
41#include "atf-c.h" 37#include "atf-c.h"
@@ -112,7 +108,7 @@ ATF_TC_HEAD(link_err, tc)
112 108
113ATF_TC_BODY(link_err, tc) 109ATF_TC_BODY(link_err, tc)
114{ 110{
115 char buf[MAXPATHLEN + 1]; 111 char buf[PATH_MAX + 1];
116 int fd; 112 int fd;
117 113
118 (void)memset(buf, 'x', sizeof(buf)); 114 (void)memset(buf, 'x', sizeof(buf));