diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-08-08 14:09:44 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-08-08 14:09:44 +0200 |
commit | 5d1c6af9f59c7a768684a537fc32389be8cddeca (patch) | |
tree | 2999100b240f973aeecf52586b4f28b86b10ec44 /init | |
parent | 827915ca4a4d61ae5b50596e46f5aaf7d402a2c0 (diff) |
Print which path init tried to execv
* init/init.c (main): On execv failure, print which path failed.
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c index b3d33018..fe230daf 100644 --- a/init/init.c +++ b/init/init.c @@ -146,7 +146,7 @@ main (int argc, char **argv) error (1, errno, "failed to fork"); case 0: execv (args[0], args); - error (2, errno, "failed to execv child"); + error (2, errno, "failed to execv child %s", args[0]); } select (0, NULL, NULL, NULL, NULL); |