summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/strchr
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libc/strchr')
-rw-r--r--src/regress/lib/libc/strchr/strchrtest.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/regress/lib/libc/strchr/strchrtest.c b/src/regress/lib/libc/strchr/strchrtest.c
index 64d6120305..0be4c8df63 100644
--- a/src/regress/lib/libc/strchr/strchrtest.c
+++ b/src/regress/lib/libc/strchr/strchrtest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: strchrtest.c,v 1.1 2021/07/24 05:45:49 visa Exp $ */ 1/* $OpenBSD: strchrtest.c,v 1.2 2021/09/01 09:26:32 jasper Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2021 Visa Hankala 4 * Copyright (c) 2021 Visa Hankala
@@ -28,9 +28,6 @@ main(void)
28 char *buf; 28 char *buf;
29 size_t bufsize; 29 size_t bufsize;
30 30
31 /* Enable malloc security options. */
32 setenv("MALLOC_OPTIONS", "S", 0);
33
34 /* Allocate buffer with guard pages. */ 31 /* Allocate buffer with guard pages. */
35 bufsize = getpagesize(); 32 bufsize = getpagesize();
36 buf = malloc(bufsize); 33 buf = malloc(bufsize);