aboutsummaryrefslogtreecommitdiffstats
path: root/get_stack_limit.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-09-22 10:12:12 +0200
committerMattias Andrée <maandree@kth.se>2024-09-22 10:12:12 +0200
commitb2cf3a8957768ba54ab6ece2d296312bb26b9ad4 (patch)
tree5e9eb7cc50cde9f4b75c2e72e6dc44123eedc89e /get_stack_limit.c
parentFix libsimple_random_bytes (diff)
downloadlibsimple-b2cf3a8957768ba54ab6ece2d296312bb26b9ad4.tar.gz
libsimple-b2cf3a8957768ba54ab6ece2d296312bb26b9ad4.tar.bz2
libsimple-b2cf3a8957768ba54ab6ece2d296312bb26b9ad4.tar.xz
m whitespace
Signed-off-by: Mattias Andrée <maandree@kth.se>
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];