summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-10-22 19:16:27 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-10-22 19:16:27 +0000
commita10fa197aa09ed22806d4677093d5ce44c5ec266 (patch)
tree98b0ed22607b9e0db1ec2202d793912fe21b8524 /mdk-stage1
parent559e1418f2c89f5cfd50c9cb6c21865abfa22ae3 (diff)
downloaddrakx-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.c2
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;
}