summaryrefslogtreecommitdiff
path: root/init/bootchartd.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/bootchartd.c')
-rw-r--r--init/bootchartd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/init/bootchartd.c b/init/bootchartd.c
index 5f6121f..cc23e60 100644
--- a/init/bootchartd.c
+++ b/init/bootchartd.c
@@ -418,6 +418,8 @@ int bootchartd_main(int argc UNUSED_PARAM, char **argv)
/* parent */
+ USE_FOR_NOMMU(argv[0][0] &= 0x7f); /* undo fork_or_rexec() damage */
+
if (DO_SIGNAL_SYNC) {
/* Wait for logger child to set handlers, then unpause it.
* Otherwise with short-lived PROG (e.g. "bootchartd start true")