From 7539ff87dac73910d3bedc2d102ae598360e550d Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 26 Feb 2008 01:44:06 +0000 Subject: [PATCH] As already commented in #1824 this is incorrect. Running scripts with load_image() works again. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24133 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/libroot/os/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/libroot/os/image.c b/src/system/libroot/os/image.c index a13f532cfd..a4bd5cb01e 100644 --- a/src/system/libroot/os/image.c +++ b/src/system/libroot/os/image.c @@ -33,7 +33,7 @@ load_image(int32 argCount, const char **args, const char **environ) if (invoker[0]) { status = __parse_invoke_line(invoker, &newArgs, - (char * const **)&args, &argCount, args[1]); + (char * const **)&args, &argCount, args[0]); if (status < B_OK) return status; }