MFC r292620:
Show the actual error code when interpreter cannot be loaded.
This commit is contained in:
parent
6a3209fa70
commit
8a5352a05e
@ -993,7 +993,8 @@ __CONCAT(exec_, __elfN(imgact))(struct image_params *imgp)
|
|||||||
}
|
}
|
||||||
vn_lock(imgp->vp, LK_EXCLUSIVE | LK_RETRY);
|
vn_lock(imgp->vp, LK_EXCLUSIVE | LK_RETRY);
|
||||||
if (error != 0) {
|
if (error != 0) {
|
||||||
uprintf("ELF interpreter %s not found\n", interp);
|
uprintf("ELF interpreter %s not found, error %d\n",
|
||||||
|
interp, error);
|
||||||
goto ret;
|
goto ret;
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
|
Loading…
Reference in New Issue
Block a user