From b2cf3a8957768ba54ab6ece2d296312bb26b9ad4 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 22 Sep 2024 10:12:12 +0200 Subject: m whitespace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- get_stack_limit.c | 3 +-- get_stack_space.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/get_stack_limit.c b/get_stack_limit.c index 363147a..7005727 100644 --- a/get_stack_limit.c +++ b/get_stack_limit.c @@ -41,9 +41,8 @@ libsimple_get_stack_limit(size_t *restrict soft, size_t *restrict hard) if (!strcmp(line, "Max stack size ")) goto line_found; } - } - + line_found: close(fd); line = &line[sizeof("Max stack size ") - 1U]; diff --git a/get_stack_space.c b/get_stack_space.c index 7f1fdd3..5e54aac 100644 --- a/get_stack_space.c +++ b/get_stack_space.c @@ -41,9 +41,8 @@ libsimple_get_stack_space(uintptr_t *restrict low, uintptr_t *restrict high) if (!strcmp(&line[linelen - (sizeof(" [stack]\n") - 1U)], " [stack]\n")) goto line_found; } - } - + line_found: close(fd); -- cgit v1.2.3-70-g09d2