From 429d34fdff7c901ff2f858e77b1644701174c9e2 Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Sun, 24 Mar 2024 18:08:38 +0300 Subject: [PATCH] safe_mem.test.c: remove `STDERR_FILENO` --- c-programming/mem/safe_mem.test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-programming/mem/safe_mem.test.c b/c-programming/mem/safe_mem.test.c index e1bb741..7c4f150 100644 --- a/c-programming/mem/safe_mem.test.c +++ b/c-programming/mem/safe_mem.test.c @@ -35,7 +35,7 @@ int main(void) { integers[0] = 0; integers[1] = EOF; - integers[2] = STDERR_FILENO; + integers[2] = 2; integers[3] = 1; DUMP_INT_ARRAY("int* integers (before secure erasure)", integers, COUNT); printf("Secure erasure is "