diff options
Diffstat (limited to 'userland/libc/stdlib/realpath.c')
-rw-r--r-- | userland/libc/stdlib/realpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userland/libc/stdlib/realpath.c b/userland/libc/stdlib/realpath.c index d9e2387..7ce0f6c 100644 --- a/userland/libc/stdlib/realpath.c +++ b/userland/libc/stdlib/realpath.c @@ -16,7 +16,7 @@ char *realpath(const char *filename, char *resolvedname) { strcat(cwd, filename); // FIXME: bounds check struct sb string; - sb_init(&string); + sb_init(&string, 512); struct sv path = C_TO_SV(cwd); |