If we annoy user with the terminal output due to failed load of
interpreter, also show the actual error code instead of some interpretation. Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
418629d81d
commit
d943fa35ad
@ -1009,7 +1009,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user