On Sat, Aug 7, 2021 at 11:24 PM Richard Henderson <
[email protected]> wrote:

> 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 <[email protected]>
> > Signed-off-by: Warner Losh <[email protected]>
> > ---
> >   bsd-user/main.c | 21 +++++++++++++++++++++
> >   bsd-user/qemu.h |  1 +
> >   2 files changed, 22 insertions(+)
>
> Acked-by: Richard Henderson <[email protected]>
>
> > +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

Reply via email to