summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/init.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/init/init.c b/init/init.c
index 3ab61332..7f340cf1 100644
--- a/init/init.c
+++ b/init/init.c
@@ -19,6 +19,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Written by Michael I. Bushnell and Roland McGrath. */
+/* This is probably more include files than I've ever seen before for
+ one file. */
#include <hurd.h>
#include <hurd/fs.h>
#include <hurd/fsys.h>
@@ -94,6 +96,9 @@ struct ess_task
struct ess_task *ess_tasks;
struct ntfy_task *ntfy_tasks;
+/* Mapped time */
+volatile struct mapped_time_value *mapped_time;
+
/* All the ttys in /etc/ttys. */
struct terminal
{
@@ -1144,6 +1149,9 @@ launch_multi_user ()
{
int fail;
+ if (!mapped_time)
+ maptime_map (1, 0, &mapped_time);
+
fail = init_ttys ();
if (fail)
launch_single_user ();