On 8/7/21 11:42 AM, Warner Losh wrote:
> Save the path to the qemu emulator. This will be used later when we have
> a more complete implementation of exec.
>
> Signed-off-by: Stacey Son <sson@FreeBSD.org>
> Signed-off-by: Warner Losh <imp@bsdimp.com>
> ---
> bsd-user/main.c | 21 +++++++++++++++++++++
> bsd-user/qemu.h | 1 +
> 2 files changed, 22 insertions(+)
Acked-by: Richard Henderson <richard.henderson@linaro.org>
> +char qemu_proc_pathname[PATH_MAX]; /* full path to exeutable */
...
> + len = PATH_MAX;
Maybe better with sizeof?
It is. Thanks! Will make the change.
Warner