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; }