MFC r292620:

Show the actual error code when interpreter cannot be loaded.
This commit is contained in:
kib 2015-12-29 16:09:15 +00:00
parent 6a3209fa70
commit 8a5352a05e

View File

@ -993,7 +993,8 @@ __CONCAT(exec_, __elfN(imgact))(struct image_params *imgp)
}
vn_lock(imgp->vp, LK_EXCLUSIVE | LK_RETRY);
if (error != 0) {
uprintf("ELF interpreter %s not found\n", interp);
uprintf("ELF interpreter %s not found, error %d\n",
interp, error);
goto ret;
}
} else