diff --git a/stand/kboot/kboot/hostfs.c b/stand/kboot/kboot/hostfs.c --- a/stand/kboot/kboot/hostfs.c +++ b/stand/kboot/kboot/hostfs.c @@ -137,7 +137,7 @@ offl = res & 0xfffffffful; offh = (res >> 32) & 0xfffffffful; err = host_llseek(hf->hf_fd, offh, offl, &res, whence); - if (err < 0) + if (err < 0 && err >= -511) /* Raw syscalll interface */ return (err); return (res); }