diff --git a/arch/sandbox/board/hostfile.c b/arch/sandbox/board/hostfile.c index 38a52a8..e460d0a 100644 --- a/arch/sandbox/board/hostfile.c +++ b/arch/sandbox/board/hostfile.c @@ -109,6 +109,7 @@ strcpy(dev->name, "hostfile"); dev->size = hf->size; + dev->id = -1; dev->map_base = hf->map_base; return register_device(dev);