From 1b0c0f4b45e518bf12c58902819fbc90e4834dad Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Tue, 31 Dec 2024 14:53:29 +0100 Subject: libc: Add more sv/sb functions --- userland/minibox/utilities/sh/sh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'userland/minibox/utilities') 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; } -- cgit v1.2.3