aboutsummaryrefslogtreecommitdiffstats
path: root/get_stack_limit.c
diff options
context:
space:
mode:
Diffstat (limited to 'get_stack_limit.c')
-rw-r--r--get_stack_limit.c3
1 files changed, 1 insertions, 2 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];