diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-10-22 19:16:27 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-10-22 19:16:27 +0000 |
commit | a10fa197aa09ed22806d4677093d5ce44c5ec266 (patch) | |
tree | 98b0ed22607b9e0db1ec2202d793912fe21b8524 /mdk-stage1 | |
parent | 559e1418f2c89f5cfd50c9cb6c21865abfa22ae3 (diff) | |
download | drakx-a10fa197aa09ed22806d4677093d5ce44c5ec266.tar drakx-a10fa197aa09ed22806d4677093d5ce44c5ec266.tar.gz drakx-a10fa197aa09ed22806d4677093d5ce44c5ec266.tar.bz2 drakx-a10fa197aa09ed22806d4677093d5ce44c5ec266.tar.xz drakx-a10fa197aa09ed22806d4677093d5ce44c5ec266.zip |
report errno when init can't exec binary
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c index 493f395b8..17f22c9d6 100644 --- a/mdk-stage1/init.c +++ b/mdk-stage1/init.c @@ -411,7 +411,7 @@ int main(int argc __attribute__ ((unused)), char **argv __attribute__ ((unused)) child_argv[1] = NULL; execve(child_argv[0], child_argv, env); - printf("error in exec of %s :-(\n", BINARY); + printf("error in exec of %s :-( [%d]\n", BINARY, errno); return 0; } |