diff options
author | Anton Kling <anton@kling.gg> | 2024-12-31 14:53:29 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-12-31 14:55:34 +0100 |
commit | 1b0c0f4b45e518bf12c58902819fbc90e4834dad (patch) | |
tree | fb8a52096d8c8aee9a6355c716cc972a57567027 /userland/minibox/utilities/sh/sh.c | |
parent | f2e31397b0e20e962eba1c2096fba73a0b210846 (diff) |
libc: Add more sv/sb functions
Diffstat (limited to 'userland/minibox/utilities/sh/sh.c')
-rw-r--r-- | userland/minibox/utilities/sh/sh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userland/minibox/utilities/sh/sh.c b/userland/minibox/utilities/sh/sh.c index e30e3f5..da7249f 100644 --- a/userland/minibox/utilities/sh/sh.c +++ b/userland/minibox/utilities/sh/sh.c @@ -113,7 +113,7 @@ int execute_command(struct AST *ast, int input_fd) { struct AST *child = ast->children; if (child) { struct sv rest; - rc = sv_parse_unsigned_number(child->val.string, &rest); + rc = sv_parse_unsigned_number(child->val.string, &rest, NULL); if (rc > 255) { rc = 2; } |